edit.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Gh_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-gh_id" data-rule="required" data-source="gh/index" class="form-control selectpage" name="row[gh_id]" type="text" value="{$row.gh_id|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Intro_uid')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-intro_uid" class="form-control" name="row[intro_uid]" type="number" value="{$row.intro_uid|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-username" class="form-control" name="row[username]" type="text" value="{$row.username|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-nickname" class="form-control" name="row[nickname]" type="text" value="{$row.nickname|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Introcode')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-introcode" class="form-control" name="row[introcode]" type="text" value="{$row.introcode|htmlentities}">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-password" class="form-control" name="row[password]" type="text" value="{$row.password|htmlentities}">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Salt')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <input id="c-salt" class="form-control" name="row[salt]" type="text" value="{$row.salt|htmlentities}">
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <input id="c-email" class="form-control" name="row[email]" type="text" value="{$row.email|htmlentities}">
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  52. <div class="col-xs-12 col-sm-8">
  53. <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
  58. <div class="col-xs-12 col-sm-8">
  59. <div class="input-group">
  60. <input id="c-avatar" class="form-control" size="50" name="row[avatar]" type="text" value="{$row.avatar|htmlentities}">
  61. <div class="input-group-addon no-border no-padding">
  62. <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  63. <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  64. </div>
  65. <span class="msg-box n-right" for="c-avatar"></span>
  66. </div>
  67. <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
  68. </div>
  69. </div>
  70. <div class="form-group">
  71. <label class="control-label col-xs-12 col-sm-2">{:__('Real_status')}:</label>
  72. <div class="col-xs-12 col-sm-8">
  73. <div class="radio">
  74. {foreach name="realStatusList" item="vo"}
  75. <label for="row[real_status]-{$key}"><input id="row[real_status]-{$key}" name="row[real_status]" type="radio" value="{$key}" {in name="key" value="$row.real_status"}checked{/in} /> {$vo}</label>
  76. {/foreach}
  77. </div>
  78. </div>
  79. </div>
  80. <div class="form-group">
  81. <label class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
  82. <div class="col-xs-12 col-sm-8">
  83. <select id="c-gender" data-rule="required" min="0" class="form-control selectpicker" name="row[gender]">
  84. {foreach name="genderList" item="vo"}
  85. <option value="{$key}" {in name="key" value="$row.gender"}selected{/in}>{$vo}</option>
  86. {/foreach}
  87. </select>
  88. </div>
  89. </div>
  90. <div class="form-group">
  91. <label class="control-label col-xs-12 col-sm-2">{:__('Height')}:</label>
  92. <div class="col-xs-12 col-sm-8">
  93. <input id="c-height" class="form-control" name="row[height]" type="text" value="{$row.height|htmlentities}">
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
  98. <div class="col-xs-12 col-sm-8">
  99. <input id="c-weight" class="form-control" name="row[weight]" type="text" value="{$row.weight|htmlentities}">
  100. </div>
  101. </div>
  102. <div class="form-group">
  103. <label class="control-label col-xs-12 col-sm-2">{:__('Birthday')}:</label>
  104. <div class="col-xs-12 col-sm-8">
  105. <input id="c-birthday" class="form-control" name="row[birthday]" type="number" value="{$row.birthday|htmlentities}">
  106. </div>
  107. </div>
  108. <div class="form-group">
  109. <label class="control-label col-xs-12 col-sm-2">{:__('Bio')}:</label>
  110. <div class="col-xs-12 col-sm-8">
  111. <input id="c-bio" class="form-control" name="row[bio]" type="text" value="{$row.bio|htmlentities}">
  112. </div>
  113. </div>
  114. <div class="form-group">
  115. <label class="control-label col-xs-12 col-sm-2">{:__('Audio_bio')}:</label>
  116. <div class="col-xs-12 col-sm-8">
  117. <input id="c-audio_bio" class="form-control" name="row[audio_bio]" type="text" value="{$row.audio_bio|htmlentities}">
  118. </div>
  119. </div>
  120. <div class="form-group">
  121. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_status')}:</label>
  122. <div class="col-xs-12 col-sm-8">
  123. <div class="radio">
  124. {foreach name="idcardStatusList" item="vo"}
  125. <label for="row[idcard_status]-{$key}"><input id="row[idcard_status]-{$key}" name="row[idcard_status]" type="radio" value="{$key}" {in name="key" value="$row.idcard_status"}checked{/in} /> {$vo}</label>
  126. {/foreach}
  127. </div>
  128. </div>
  129. </div>
  130. <div class="form-group">
  131. <label class="control-label col-xs-12 col-sm-2">{:__('Successions')}:</label>
  132. <div class="col-xs-12 col-sm-8">
  133. <input id="c-successions" min="0" class="form-control" name="row[successions]" type="number" value="{$row.successions|htmlentities}">
  134. </div>
  135. </div>
  136. <div class="form-group">
  137. <label class="control-label col-xs-12 col-sm-2">{:__('Maxsuccessions')}:</label>
  138. <div class="col-xs-12 col-sm-8">
  139. <input id="c-maxsuccessions" min="0" class="form-control" name="row[maxsuccessions]" type="number" value="{$row.maxsuccessions|htmlentities}">
  140. </div>
  141. </div>
  142. <div class="form-group">
  143. <label class="control-label col-xs-12 col-sm-2">{:__('Prevtime')}:</label>
  144. <div class="col-xs-12 col-sm-8">
  145. <input id="c-prevtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[prevtime]" type="text" value="{:$row.prevtime?datetime($row.prevtime):''}">
  146. </div>
  147. </div>
  148. <div class="form-group">
  149. <label class="control-label col-xs-12 col-sm-2">{:__('Logintime')}:</label>
  150. <div class="col-xs-12 col-sm-8">
  151. <input id="c-logintime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[logintime]" type="text" value="{:$row.logintime?datetime($row.logintime):''}">
  152. </div>
  153. </div>
  154. <div class="form-group">
  155. <label class="control-label col-xs-12 col-sm-2">{:__('Loginip')}:</label>
  156. <div class="col-xs-12 col-sm-8">
  157. <input id="c-loginip" class="form-control" name="row[loginip]" type="text" value="{$row.loginip|htmlentities}">
  158. </div>
  159. </div>
  160. <div class="form-group">
  161. <label class="control-label col-xs-12 col-sm-2">{:__('Loginfailure')}:</label>
  162. <div class="col-xs-12 col-sm-8">
  163. <input id="c-loginfailure" min="0" class="form-control" name="row[loginfailure]" type="number" value="{$row.loginfailure|htmlentities}">
  164. </div>
  165. </div>
  166. <div class="form-group">
  167. <label class="control-label col-xs-12 col-sm-2">{:__('Joinip')}:</label>
  168. <div class="col-xs-12 col-sm-8">
  169. <input id="c-joinip" class="form-control" name="row[joinip]" type="text" value="{$row.joinip|htmlentities}">
  170. </div>
  171. </div>
  172. <div class="form-group">
  173. <label class="control-label col-xs-12 col-sm-2">{:__('Jointime')}:</label>
  174. <div class="col-xs-12 col-sm-8">
  175. <input id="c-jointime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[jointime]" type="text" value="{:$row.jointime?datetime($row.jointime):''}">
  176. </div>
  177. </div>
  178. <div class="form-group">
  179. <label class="control-label col-xs-12 col-sm-2">{:__('Token')}:</label>
  180. <div class="col-xs-12 col-sm-8">
  181. <input id="c-token" class="form-control" name="row[token]" type="text" value="{$row.token|htmlentities}">
  182. </div>
  183. </div>
  184. <div class="form-group">
  185. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  186. <div class="col-xs-12 col-sm-8">
  187. <div class="radio">
  188. {foreach name="statusList" item="vo"}
  189. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  190. {/foreach}
  191. </div>
  192. </div>
  193. </div>
  194. <div class="form-group">
  195. <label class="control-label col-xs-12 col-sm-2">{:__('Verification')}:</label>
  196. <div class="col-xs-12 col-sm-8">
  197. <input id="c-verification" class="form-control" name="row[verification]" type="text" value="{$row.verification|htmlentities}">
  198. </div>
  199. </div>
  200. <div class="form-group">
  201. <label class="control-label col-xs-12 col-sm-2">{:__('Longitude')}:</label>
  202. <div class="col-xs-12 col-sm-8">
  203. <input id="c-longitude" class="form-control" name="row[longitude]" type="text" value="{$row.longitude|htmlentities}">
  204. </div>
  205. </div>
  206. <div class="form-group">
  207. <label class="control-label col-xs-12 col-sm-2">{:__('Latitude')}:</label>
  208. <div class="col-xs-12 col-sm-8">
  209. <input id="c-latitude" class="form-control" name="row[latitude]" type="text" value="{$row.latitude|htmlentities}">
  210. </div>
  211. </div>
  212. <div class="form-group">
  213. <label class="control-label col-xs-12 col-sm-2">{:__('Cityname')}:</label>
  214. <div class="col-xs-12 col-sm-8">
  215. <input id="c-cityname" class="form-control" name="row[cityname]" type="text" value="{$row.cityname|htmlentities}">
  216. </div>
  217. </div>
  218. <div class="form-group">
  219. <label class="control-label col-xs-12 col-sm-2">{:__('Photo_images')}:</label>
  220. <div class="col-xs-12 col-sm-8">
  221. <div class="input-group">
  222. <input id="c-photo_images" class="form-control" size="50" name="row[photo_images]" type="text" value="{$row.photo_images|htmlentities}">
  223. <div class="input-group-addon no-border no-padding">
  224. <span><button type="button" id="faupload-photo_images" class="btn btn-danger faupload" data-input-id="c-photo_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-photo_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  225. <span><button type="button" id="fachoose-photo_images" class="btn btn-primary fachoose" data-input-id="c-photo_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  226. </div>
  227. <span class="msg-box n-right" for="c-photo_images"></span>
  228. </div>
  229. <ul class="row list-inline faupload-preview" id="p-photo_images"></ul>
  230. </div>
  231. </div>
  232. <div class="form-group">
  233. <label class="control-label col-xs-12 col-sm-2">{:__('Education_id')}:</label>
  234. <div class="col-xs-12 col-sm-8">
  235. <input id="c-education_id" data-rule="required" data-source="education/index" class="form-control selectpage" name="row[education_id]" type="text" value="{$row.education_id|htmlentities}">
  236. </div>
  237. </div>
  238. <div class="form-group">
  239. <label class="control-label col-xs-12 col-sm-2">{:__('Hobby_ids')}:</label>
  240. <div class="col-xs-12 col-sm-8">
  241. <input id="c-hobby_ids" data-rule="required" data-source="hobby/index" data-multiple="true" class="form-control selectpage" name="row[hobby_ids]" type="text" value="{$row.hobby_ids|htmlentities}">
  242. </div>
  243. </div>
  244. <div class="form-group">
  245. <label class="control-label col-xs-12 col-sm-2">{:__('Job_id')}:</label>
  246. <div class="col-xs-12 col-sm-8">
  247. <input id="c-job_id" data-rule="required" data-source="job/index" class="form-control selectpage" name="row[job_id]" type="text" value="{$row.job_id|htmlentities}">
  248. </div>
  249. </div>
  250. <div class="form-group">
  251. <label class="control-label col-xs-12 col-sm-2">{:__('Marital_id')}:</label>
  252. <div class="col-xs-12 col-sm-8">
  253. <input id="c-marital_id" data-rule="required" data-source="marital/index" class="form-control selectpage" name="row[marital_id]" type="text" value="{$row.marital_id|htmlentities}">
  254. </div>
  255. </div>
  256. <div class="form-group">
  257. <label class="control-label col-xs-12 col-sm-2">{:__('Tag_ids')}:</label>
  258. <div class="col-xs-12 col-sm-8">
  259. <input id="c-tag_ids" data-rule="required" data-source="tag/index" data-multiple="true" class="form-control selectpage" name="row[tag_ids]" type="text" value="{$row.tag_ids|htmlentities}">
  260. </div>
  261. </div>
  262. <div class="form-group">
  263. <label class="control-label col-xs-12 col-sm-2">{:__('Wages_id')}:</label>
  264. <div class="col-xs-12 col-sm-8">
  265. <input id="c-wages_id" data-rule="required" data-source="wages/index" class="form-control selectpage" name="row[wages_id]" type="text" value="{$row.wages_id|htmlentities}">
  266. </div>
  267. </div>
  268. <div class="form-group">
  269. <label class="control-label col-xs-12 col-sm-2">{:__('Hometown_cityid')}:</label>
  270. <div class="col-xs-12 col-sm-8">
  271. <input id="c-hometown_cityid" class="form-control" name="row[hometown_cityid]" type="number" value="{$row.hometown_cityid|htmlentities}">
  272. </div>
  273. </div>
  274. <div class="form-group">
  275. <label class="control-label col-xs-12 col-sm-2">{:__('Open_match_video')}:</label>
  276. <div class="col-xs-12 col-sm-8">
  277. <select id="c-open_match_video" data-rule="required" class="form-control selectpicker" name="row[open_match_video]">
  278. {foreach name="openMatchVideoList" item="vo"}
  279. <option value="{$key}" {in name="key" value="$row.open_match_video"}selected{/in}>{$vo}</option>
  280. {/foreach}
  281. </select>
  282. </div>
  283. </div>
  284. <div class="form-group">
  285. <label class="control-label col-xs-12 col-sm-2">{:__('Open_match_audio')}:</label>
  286. <div class="col-xs-12 col-sm-8">
  287. <select id="c-open_match_audio" data-rule="required" class="form-control selectpicker" name="row[open_match_audio]">
  288. {foreach name="openMatchAudioList" item="vo"}
  289. <option value="{$key}" {in name="key" value="$row.open_match_audio"}selected{/in}>{$vo}</option>
  290. {/foreach}
  291. </select>
  292. </div>
  293. </div>
  294. <div class="form-group">
  295. <label class="control-label col-xs-12 col-sm-2">{:__('Open_match_typing')}:</label>
  296. <div class="col-xs-12 col-sm-8">
  297. <select id="c-open_match_typing" data-rule="required" class="form-control selectpicker" name="row[open_match_typing]">
  298. {foreach name="openMatchTypingList" item="vo"}
  299. <option value="{$key}" {in name="key" value="$row.open_match_typing"}selected{/in}>{$vo}</option>
  300. {/foreach}
  301. </select>
  302. </div>
  303. </div>
  304. <div class="form-group">
  305. <label class="control-label col-xs-12 col-sm-2">{:__('Free_video')}:</label>
  306. <div class="col-xs-12 col-sm-8">
  307. <select id="c-free_video" data-rule="required" class="form-control selectpicker" name="row[free_video]">
  308. {foreach name="freeVideoList" item="vo"}
  309. <option value="{$key}" {in name="key" value="$row.free_video"}selected{/in}>{$vo}</option>
  310. {/foreach}
  311. </select>
  312. </div>
  313. </div>
  314. <div class="form-group">
  315. <label class="control-label col-xs-12 col-sm-2">{:__('Free_audio')}:</label>
  316. <div class="col-xs-12 col-sm-8">
  317. <select id="c-free_audio" data-rule="required" class="form-control selectpicker" name="row[free_audio]">
  318. {foreach name="freeAudioList" item="vo"}
  319. <option value="{$key}" {in name="key" value="$row.free_audio"}selected{/in}>{$vo}</option>
  320. {/foreach}
  321. </select>
  322. </div>
  323. </div>
  324. <div class="form-group">
  325. <label class="control-label col-xs-12 col-sm-2">{:__('Free_typing')}:</label>
  326. <div class="col-xs-12 col-sm-8">
  327. <select id="c-free_typing" data-rule="required" class="form-control selectpicker" name="row[free_typing]">
  328. {foreach name="freeTypingList" item="vo"}
  329. <option value="{$key}" {in name="key" value="$row.free_typing"}selected{/in}>{$vo}</option>
  330. {/foreach}
  331. </select>
  332. </div>
  333. </div>
  334. <div class="form-group">
  335. <label class="control-label col-xs-12 col-sm-2">{:__('Hide_is_finishinfo')}:</label>
  336. <div class="col-xs-12 col-sm-8">
  337. <select id="c-hide_is_finishinfo" data-rule="required" class="form-control selectpicker" name="row[hide_is_finishinfo]">
  338. {foreach name="hideIsFinishinfoList" item="vo"}
  339. <option value="{$key}" {in name="key" value="$row.hide_is_finishinfo"}selected{/in}>{$vo}</option>
  340. {/foreach}
  341. </select>
  342. </div>
  343. </div>
  344. <div class="form-group">
  345. <label class="control-label col-xs-12 col-sm-2">{:__('Guild_id')}:</label>
  346. <div class="col-xs-12 col-sm-8">
  347. <input id="c-guild_id" data-rule="required" data-source="guild/index" class="form-control selectpage" name="row[guild_id]" type="text" value="{$row.guild_id|htmlentities}">
  348. </div>
  349. </div>
  350. <div class="form-group">
  351. <label class="control-label col-xs-12 col-sm-2">{:__('Is_guild')}:</label>
  352. <div class="col-xs-12 col-sm-8">
  353. <select id="c-is_guild" class="form-control selectpicker" name="row[is_guild]">
  354. {foreach name="isGuildList" item="vo"}
  355. <option value="{$key}" {in name="key" value="$row.is_guild"}selected{/in}>{$vo}</option>
  356. {/foreach}
  357. </select>
  358. </div>
  359. </div>
  360. <div class="form-group">
  361. <label class="control-label col-xs-12 col-sm-2">{:__('Noble')}:</label>
  362. <div class="col-xs-12 col-sm-8">
  363. <input id="c-noble" class="form-control" name="row[noble]" type="number" value="{$row.noble|htmlentities}">
  364. </div>
  365. </div>
  366. <div class="form-group">
  367. <label class="control-label col-xs-12 col-sm-2">{:__('Level')}:</label>
  368. <div class="col-xs-12 col-sm-8">
  369. <input id="c-level" min="0" class="form-control" name="row[level]" type="number" value="{$row.level|htmlentities}">
  370. </div>
  371. </div>
  372. <div class="form-group">
  373. <label class="control-label col-xs-12 col-sm-2">{:__('Is_online')}:</label>
  374. <div class="col-xs-12 col-sm-8">
  375. <select id="c-is_online" class="form-control selectpicker" name="row[is_online]">
  376. {foreach name="isOnlineList" item="vo"}
  377. <option value="{$key}" {in name="key" value="$row.is_online"}selected{/in}>{$vo}</option>
  378. {/foreach}
  379. </select>
  380. </div>
  381. </div>
  382. <div class="form-group">
  383. <label class="control-label col-xs-12 col-sm-2">{:__('Onlinetime')}:</label>
  384. <div class="col-xs-12 col-sm-8">
  385. <input id="c-onlinetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[onlinetime]" type="text" value="{:$row.onlinetime?datetime($row.onlinetime):''}">
  386. </div>
  387. </div>
  388. <div class="form-group">
  389. <label class="control-label col-xs-12 col-sm-2">{:__('Is_livebc')}:</label>
  390. <div class="col-xs-12 col-sm-8">
  391. <select id="c-is_livebc" class="form-control selectpicker" name="row[is_livebc]">
  392. {foreach name="isLivebcList" item="vo"}
  393. <option value="{$key}" {in name="key" value="$row.is_livebc"}selected{/in}>{$vo}</option>
  394. {/foreach}
  395. </select>
  396. </div>
  397. </div>
  398. <div class="form-group">
  399. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_openid')}:</label>
  400. <div class="col-xs-12 col-sm-8">
  401. <input id="c-wechat_openid" data-rule="required" class="form-control" name="row[wechat_openid]" type="text" value="{$row.wechat_openid|htmlentities}">
  402. </div>
  403. </div>
  404. <div class="form-group">
  405. <label class="control-label col-xs-12 col-sm-2">{:__('Register_from')}:</label>
  406. <div class="col-xs-12 col-sm-8">
  407. <input id="c-register_from" class="form-control" name="row[register_from]" type="text" value="{$row.register_from|htmlentities}">
  408. </div>
  409. </div>
  410. <div class="form-group">
  411. <label class="control-label col-xs-12 col-sm-2">{:__('Is_active')}:</label>
  412. <div class="col-xs-12 col-sm-8">
  413. <select id="c-is_active" data-rule="required" class="form-control selectpicker" name="row[is_active]">
  414. {foreach name="isActiveList" item="vo"}
  415. <option value="{$key}" {in name="key" value="$row.is_active"}selected{/in}>{$vo}</option>
  416. {/foreach}
  417. </select>
  418. </div>
  419. </div>
  420. <div class="form-group">
  421. <label class="control-label col-xs-12 col-sm-2">{:__('Active_time')}:</label>
  422. <div class="col-xs-12 col-sm-8">
  423. <input id="c-active_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[active_time]" type="text" value="{:$row.active_time?datetime($row.active_time):''}">
  424. </div>
  425. </div>
  426. <div class="form-group">
  427. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_account')}:</label>
  428. <div class="col-xs-12 col-sm-8">
  429. <input id="c-wechat_account" class="form-control" name="row[wechat_account]" type="text" value="{$row.wechat_account|htmlentities}">
  430. </div>
  431. </div>
  432. <div class="form-group">
  433. <label class="control-label col-xs-12 col-sm-2">{:__('Secretvideo_status')}:</label>
  434. <div class="col-xs-12 col-sm-8">
  435. <div class="radio">
  436. {foreach name="secretvideoStatusList" item="vo"}
  437. <label for="row[secretvideo_status]-{$key}"><input id="row[secretvideo_status]-{$key}" name="row[secretvideo_status]" type="radio" value="{$key}" {in name="key" value="$row.secretvideo_status"}checked{/in} /> {$vo}</label>
  438. {/foreach}
  439. </div>
  440. </div>
  441. </div>
  442. <div class="form-group layer-footer">
  443. <label class="control-label col-xs-12 col-sm-2"></label>
  444. <div class="col-xs-12 col-sm-8">
  445. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  446. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  447. </div>
  448. </div>
  449. </form>