国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

517 lines
25KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>修改图片集</title>
  6. <style type="text/css">
  7. body {
  8. background-image: url(images/allbg.gif);
  9. }
  10. </style>
  11. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  12. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  13. <link href="css/base.css" rel="stylesheet" type="text/css">
  14. <link href="css/albumupload.css" rel="stylesheet" type="text/css" />
  15. <script language="javascript" src="../static/js/jquery.js"></script>
  16. <script type="text/javascript" src="../static/js/dedeajax2.js"></script>
  17. <link href="../static/css/daterangepicker.css" rel="stylesheet">
  18. <script type="text/javascript" src="../static/js/moment.min.js"></script>
  19. <script type="text/javascript" src="../static/js/daterangepicker.js"></script>
  20. <script type="text/javascript" src="js/main.js"></script>
  21. <script type="text/javascript" src="js/album.js"></script>
  22. <script type="text/javascript" src="js/handlers.js"></script>
  23. <link href="../static/css/cropper.min.css" rel="stylesheet">
  24. <script src="../static/js/cropper.min.js"></script>
  25. <script src="../static/js/bootstrap.bundle.js"></script>
  26. <link rel="stylesheet" href="../static/css/jquery.fileupload.css">
  27. <script language="javascript" type="text/javascript">
  28. var swfu = null;
  29. var vcc = 0;
  30. var albums = [];
  31. $(document).ready(function () {
  32. // 添加图片
  33. $("#iptAlbumImages").change(function (event) {
  34. var files = event.target.files;
  35. for (var i = 0, f; f = files[i]; i++) {
  36. // 如果不是图片忽略
  37. if (!f.type.match('image.*')) {
  38. continue;
  39. }
  40. // 将图片渲染到浏览器
  41. var reader = new FileReader();
  42. reader.onload = (function (theFile) {
  43. return function (e) {
  44. litpicImgSrc = e.target.result;
  45. addImage(litpicImgSrc, 0);
  46. };
  47. })(f);
  48. reader.readAsDataURL(f);
  49. }
  50. $("#iptAlbumImages").val("");
  51. });
  52. });
  53. </script>
  54. <style>
  55. img {
  56. vertical-align: baseline;
  57. }
  58. input,
  59. select {
  60. height: auto !important;
  61. }
  62. </style>
  63. </head>
  64. <body topmargin="8">
  65. <form name="form1" action="album_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();">
  66. <input type="hidden" name="channelid" value="<?php echo $channelid?>" />
  67. <input type="hidden" name="id" value="<?php echo $aid?>" />
  68. <input type="hidden" name="imagebody" value="" />
  69. <input type="hidden" name="dopost" value="save" />
  70. <input type="hidden" id="albums" name="albums" value="">
  71. <input type="hidden" id="litpic_b64" name="litpic_b64" value="">
  72. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  73. <tr>
  74. <td width="65%" height="30"><IMG height=14 src="images/book1.gif" width=20>&nbsp;<a href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives"><u>图集列表</u></a> &gt;&gt; 更改图集</td>
  75. <td width="30%" align='right'><?php echo $backurl; ?><a href="catalog_main.php">[<u>栏目管理</u>]</a>&nbsp;</td>
  76. </tr>
  77. </table>
  78. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1">
  79. <tr>
  80. <td colspan="2"><table width="168" border="0" cellpadding="0" cellspacing="0">
  81. <tr>
  82. <td width="84" height="24" align="center" background="images/itemnote1.gif">&nbsp;常规内容&nbsp;</td>
  83. <td width="84" align="center" background="images/itemnote2.gif"><a href="#" onClick="ShowItem2()"><u>图集图片</u></a>&nbsp;</td>
  84. </tr>
  85. </table></td>
  86. </tr>
  87. </table>
  88. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none">
  89. <tr>
  90. <td colspan="2"><table width="168" height="24" border="0" cellpadding="0" cellspacing="0">
  91. <tr>
  92. <td width="84" align="center" background="images/itemnote2.gif"><a href="#" onClick="ShowItem1()"><u>常规内容</u></a>&nbsp;</td>
  93. <td width="84" align="center" background="images/itemnote1.gif">图集图片&nbsp;</td>
  94. </tr>
  95. </table></td>
  96. </tr>
  97. </table>
  98. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset" style="border:1px solid #cfcfcf;background:#ffffff;">
  99. <tr>
  100. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  101. <tr>
  102. <td width="90">&nbsp;图集标题:</td>
  103. <td width='408'><input name="title" type="text" id="title" value="<?php echo $arcRow['title']; ?>" style="width:388px"></td>
  104. <td width="90">&nbsp;简略标题:</td>
  105. <td><input name="shorttitle" type="text" id="shorttitle" style="width:150px" value="<?php echo $arcRow['shorttitle']; ?>"></td>
  106. </tr>
  107. </table></td>
  108. </tr>
  109. <tr>
  110. <td width="400%" height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  111. <tr>
  112. <td width="90">&nbsp;自定义属性:</td>
  113. <td><?php
  114. $dsql->SetQuery("SELECT * FROM `#@__arcatt` ORDER BY sortid ASC");
  115. $dsql->Execute();
  116. while($trow = $dsql->GetObject())
  117. {
  118. if($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'";
  119. else $jumpclick = '';
  120. if(preg_match("#".$trow->att."#", $arcRow['flag']))
  121. echo "<input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked' />{$trow->attname}[{$trow->att}]";
  122. else
  123. echo "<input class='np' type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} />{$trow->attname}[{$trow->att}]";
  124. }
  125. ?></td>
  126. </tr>
  127. </table></td>
  128. </tr>
  129. <tr>
  130. <td height="24" colspan="4" class="bline" id="redirecturltr" style="display:<?php echo (empty($addRow['redirecturl']) ? 'none' : 'block');?>"><table width="800" border="0" cellspacing="0" cellpadding="0">
  131. <tr>
  132. <td width="90">&nbsp;跳转网址:</td>
  133. <td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="<?php echo $addRow["redirecturl"]?>" /></td>
  134. </tr>
  135. </table></td>
  136. </tr>
  137. <tr>
  138. <td width="400%" height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  139. <tr>
  140. <td width="90">&nbsp;TAG标签:</td>
  141. <td width="536"><input name="tags" type="text" id="tags" value="<?php echo $tags; ?>" style="width:300px" />
  142. (','号分开,单个标签小于12字节) </td>
  143. <td width="40">权重:</td>
  144. <td width="141"><input name="weight" type="text" id="weight" style="width:50px" value="<?php echo $arcRow['weight'];?>" />
  145. (越小越靠前)</td>
  146. </tr>
  147. </table></td>
  148. </tr>
  149. <tr id="pictable">
  150. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  151. <tr>
  152. <td width="90" height="81">&nbsp;缩 略 图:<br/></td>
  153. <td><input name="picname" type="text" id="picname" style="width:300px"
  154. value="<?php echo $arcRow["litpic"]?>"><input type="button" name="Submit" value="浏览..."
  155. style="width:70px" onClick="SelectImage('form1.picname','');">
  156. <input type='checkbox' class='np' name='ddisremote' value='1'>
  157. 远程
  158. <span class="btn btn-success fileinput-button">
  159. <i class="glyphicon glyphicon-plus"></i>
  160. 选择图片
  161. <input type="file" name="files[]" id="iptAddImages">
  162. </span>
  163. <button id="btnClearAll" type="button" class="btn btn-danger delete">
  164. <i class="fa fa-trash-o"></i>
  165. <span>清空</span>
  166. </button> </td>
  167. <td align="center"><img id="litPic"
  168. src="<?php if($arcRow["litpic"]!="") echo $arcRow["litpic"]; else echo "../static/defaultpic.gif";?>"
  169. style="height: 80px"></td>
  170. </tr>
  171. </table></td>
  172. </tr>
  173. <tr>
  174. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  175. <tr>
  176. <td width="90">&nbsp;图片来源:</td>
  177. <td width="240"><input name="source" type="text" id="source" style="width:200" value="<?php echo $arcRow["source"]?>"></td>
  178. <td width="90">作者:</td>
  179. <td><input name="writer" type="text" id="writer" style="width:120" value="<?php echo $arcRow["writer"]?>"></td>
  180. </tr>
  181. </table></td>
  182. </tr>
  183. <tr>
  184. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  185. <tr>
  186. <td width="90">&nbsp;图集主栏目:</td>
  187. <td><?php
  188. $typeOptions = GetOptionList($arcRow['typeid'],$cuserLogin->getUserChannel(),$channelid);
  189. echo "<select name='typeid' id='typeid' style='width:240px'>\r\n";
  190. if($arcRow['typeid']=='0') echo "<option value='0' selected>请选择主分类...</option>\r\n";
  191. echo $typeOptions;
  192. echo '</select>';
  193. ?>
  194. <img src='images/menusearch.gif' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid', '<?php echo $arcRow['typeid']; ?>')" alt='快捷选择' title='快捷选择' />
  195. </td>
  196. </tr>
  197. </table></td>
  198. </tr>
  199. <?php
  200. if($cfg_need_typeid2=='Y') {
  201. ?>
  202. <tr>
  203. <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  204. <tr>
  205. <td width="90">&nbsp;图集副栏目:</td>
  206. <td><span id='typeid2ct'></span>
  207. <input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:200px;' />
  208. <img src='images/menusearch2.gif' style='cursor:pointer;' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2', '<?php echo $arcRow['typeid2']; ?>')" alt='选择副栏目' title='选择副栏目' /></td>
  209. </tr>
  210. </table></td>
  211. </tr>
  212. <?php } ?>
  213. <tr>
  214. <td><?php
  215. PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield');
  216. ?></td>
  217. </tr>
  218. <tr>
  219. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  220. <tr>
  221. <td width="90">&nbsp;图集内容:</td>
  222. <td><?php GetEditor("body",$body,450,"Diy"); ?></td>
  223. </tr>
  224. </table></td>
  225. </tr>
  226. <tr>
  227. <td height="24" bgcolor="#F9FCEF" class="bline2">&nbsp;<strong>高级属性:</strong></td>
  228. </tr>
  229. <tr>
  230. <td height="24" colspan="4" class="bline">
  231. <table width="800" border="0" cellspacing="0" cellpadding="0">
  232. <tr>
  233. <td width="90" height="22" width="240">
  234. &nbsp;评论选项:
  235. </td>
  236. <td width="250"><input type='radio' name='notpost' class='np' value='0'<?php if($arcRow['notpost']==0) echo " checked='1' "; ?>/>
  237. 允许评论
  238. &nbsp;
  239. <input type='radio' name='notpost' class='np' value='1'<?php if($arcRow['notpost']==1) echo " checked='1' "; ?>/>
  240. 禁止评论 </td>
  241. <td width="90">浏览次数:</td>
  242. <td><input type='text' name='click' value='<?php echo $arcRow['click']; ?>' style='width:100px;' /></td>
  243. </tr>
  244. </table>
  245. </tr>
  246. <tr>
  247. <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  248. <tr>
  249. <td width="90">&nbsp;文档排序:</td>
  250. <td width="250"><select name="sortup" id="sortup" style="width:150">
  251. <?php
  252. $subday = SubDay($arcRow["sortrank"],$arcRow["pubdate"]);
  253. echo "<option value='0'>正常排序</option>\r\n";
  254. if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>\r\n";
  255. ?>
  256. <option value="7">置顶一周</option>
  257. <option value="30">置顶一个月</option>
  258. <option value="90">置顶三个月</option>
  259. <option value="180">置顶半年</option>
  260. <option value="360">置顶一年</option>
  261. </select></td>
  262. <td width="90">标题颜色:</td>
  263. <td><input name="color" type="text" id="color" style="width:120" value="<?php echo $arcRow["color"]?>">
  264. <input name="modcolor" type="button" id="modcolor" value="选取" onClick="ShowColor(event,this)"></td>
  265. </tr>
  266. </table></td>
  267. </tr>
  268. <tr>
  269. <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  270. <tr>
  271. <td width="90">&nbsp;阅读权限:</td>
  272. <td width="250"><select name="arcrank" id="arcrank" style="width:150">
  273. <option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option>
  274. <?php
  275. $urank = $cuserLogin->getUserRank();
  276. $dsql->SetQuery("Select * from #@__arcrank where adminrank<='$urank'");
  277. $dsql->Execute();
  278. while($row = $dsql->GetObject()){
  279. echo " <option value='".$row->rank."'>".$row->membername."</option>\r\n";
  280. }
  281. ?>
  282. </select></td>
  283. <td width="90">发布选项:</td>
  284. <td><input name="ishtml" type="radio" class="np" value="1"<?php if($arcRow["ismake"]!=-1) echo " checked";?>>
  285. 生成HTML
  286. <input type="radio" name="ishtml" class="np" value="0"<?php if($arcRow["ismake"]==-1) echo " checked";?>>
  287. 仅动态浏览 </td>
  288. </tr>
  289. </table></td>
  290. </tr>
  291. <tr>
  292. <td height="75" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  293. <tr>
  294. <td width="90">&nbsp;发布时间:</td>
  295. <td width="250"><?php
  296. $nowtime = GetDateTimeMk(time());
  297. echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200\" class='datepicker'>";
  298. ?>
  299. </td>
  300. <td width="92">消费金币:</td>
  301. <td width="368"><input name="money" type="text" id="money" value="<?php echo $arcRow["money"]?>" size="10"></td>
  302. </tr>
  303. </table></td>
  304. </tr>
  305. <tr>
  306. <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  307. <tr>
  308. <td width="90" height="51">&nbsp;关键字:</td>
  309. <td><input type="text" name="keywords" id="keywords" style="width:60%" value="<?php echo $arcRow["keywords"]?>" /></td>
  310. </tr>
  311. </table></td>
  312. </tr>
  313. <tr>
  314. <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  315. <tr>
  316. <td width="90" height="51">&nbsp;图集内容摘要:</td>
  317. <td><textarea name="description" rows="3" id="description" style="width:60%"><?php echo $arcRow["description"]?></textarea></td>
  318. </tr>
  319. </table></td>
  320. </tr>
  321. <tr>
  322. <td height="24" colspan="4"><table width="800" border="0" cellspacing="0" cellpadding="0">
  323. <tr>
  324. <td width="90">&nbsp;自定义文件名:</td>
  325. <td width="449"><input type="text" name="filename" id="filename" value="<?php echo $arcRow["filename"]?>" />
  326. (不包括后缀名如.html等)</td>
  327. <td width="261">&nbsp;</td>
  328. </tr>
  329. </table></td>
  330. </tr>
  331. </table>
  332. <!-- //高级参数 -->
  333. <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="border:1px solid #cfcfcf;background:#ffffff;display:none">
  334. <tr>
  335. <td height="24" bgcolor="#F9FCEF" class="bline2">&nbsp;<strong>图集选项:</strong></td>
  336. </tr>
  337. <tr>
  338. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  339. <tr>
  340. <td width="90">&nbsp;表现方式:</td>
  341. <td><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1"<?php if($pagestyle==1) echo " checked='checked'"; ?> />
  342. <img src='images/alb2.gif' alt='单页多图样式' title='单页多图样式' /> &nbsp;&nbsp;
  343. <input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2"<?php if($pagestyle==2) echo " checked='checked'"; ?> />
  344. <img src='images/alb1.gif' alt='幻灯片样式' title='幻灯片样式' /> &nbsp;&nbsp;
  345. <input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3"<?php if($pagestyle==3) echo " checked='checked'"; ?>/>
  346. <img src='images/alb3.gif' alt='多缩略图样式' title='多缩略图样式' /></td>
  347. </tr>
  348. </table></td>
  349. </tr>
  350. <tr id='cfgmulist' style='<?php if($pagestyle!=3) echo 'display:none'; ?>'>
  351. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  352. <tr>
  353. <td height="26">&nbsp;多列式参数:</td>
  354. <td>行
  355. <input name="row" type="text" id="row" value="<?php echo $irow; ?>" size="6">
  356. <input name="col" type="text" id="col" value="<?php echo $icol; ?>" size="6">
  357. 缩略图宽度限制:
  358. <input name="ddmaxwidth" type="text" id="ddmaxwidth" value="<?php echo $ddmaxwidth; ?>" size="6">
  359. 像素</td>
  360. </tr>
  361. <tr>
  362. <td width="80" height="26">&nbsp;</td>
  363. <td><strong>(系统仅是每页输出&quot;行x列&quot;张图片,实现需自行控制样式表)</strong></td>
  364. </tr>
  365. </table></td>
  366. </tr>
  367. <tr id='spagelist' style='<?php if($pagestyle!=1) echo 'display:none'; ?>'>
  368. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  369. <tr>
  370. <td width="95">&nbsp;每页图片数:</td>
  371. <td><input name='pagepicnum' id='pagpicnum' size='10' value='<?php echo $pagepicnum; ?>' />
  372. 单页多图显示需要设置此参数,这种模式下系统不会为每张图单独生成缩略图。 </td>
  373. </tr>
  374. </table></td>
  375. </tr>
  376. <tr style='display:none'>
  377. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  378. <tr>
  379. <td width="90">&nbsp;限制宽度:</td>
  380. <td><input name="maxwidth" type="text" id="maxwidth" size="10" value="<?php echo $maxwidth?>">
  381. (防止图片太宽在模板页中溢出) </td>
  382. </tr>
  383. </table></td>
  384. </tr>
  385. <tr>
  386. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  387. <tr>
  388. <td width="90">&nbsp;上传方式:</td>
  389. <td><input name="isrm" class="np" type="hidden" id="isrm" value="1" />
  390. <input name="byhand" class="np" type="checkbox" id="byhand" value="1" disabled="ture" checked />
  391. 手工上传
  392. <input name="formzip" class="np" type="checkbox" id="formzip" value="1" onClick="showZipField(this,'zipff','htmlfield');" />
  393. 从ZIP压缩包中解压图片
  394. </tr>
  395. </table></td>
  396. </tr>
  397. <tr id="zipff" style="display:none">
  398. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0" height="100">
  399. <tr>
  400. <td width="90">&nbsp;压缩包文件:</td>
  401. <td><input type='text' name='zipfile' id='zipfile' style='width:300px'>
  402. <input name='addon_bt' type='button' class='inputbut' value='浏览...' onClick="SelectSoft('form1.zipfile')">
  403. <input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" />
  404. 处理后删除压缩文件 </td>
  405. </tr>
  406. </table></td>
  407. </tr>
  408. <tr id="htmlfield" style="display:none">
  409. <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
  410. <tr>
  411. <td width="90">&nbsp;网上复制:</td>
  412. <td> 复制的源网址:
  413. <input name='copysource' type='text' value='http://' style='width:250px'/>
  414. (防盗链网站需填写您复制图片的其中一个网页网址) <br />
  415. 把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片
  416. <input type="button" name="button" id="button" value="预览" onClick="LoadTestDiv()">
  417. <br />
  418. <div id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:250px;width:100%' contenteditable="true">粘贴到这里...</div></td>
  419. </tr>
  420. </table></td>
  421. </tr>
  422. <tr>
  423. <td height="24" bgcolor="#F9FCEF" class="bline2">&nbsp;<b>原有图片:</b></td>
  424. </tr>
  425. <tr>
  426. <td height="24" colspan="4" class="bline"><table width='100%'>
  427. <tr>
  428. <td><div id="thumbnailsEdit">
  429. <?php
  430. $j = 1;
  431. if($imgurls!=""){
  432. $dtp = new DedeTagParse();
  433. $dtp->LoadSource($imgurls);
  434. if(is_array($dtp->CTags))
  435. {
  436. foreach($dtp->CTags as $ctag)
  437. {
  438. if($ctag->GetName()=="img")
  439. {
  440. $bigimg = trim($ctag->GetInnerText());
  441. if($ctag->GetAtt('ddimg') != $bigimg && $ctag->GetAtt('ddimg')!='')
  442. {
  443. $litimg = $ctag->GetAtt('ddimg');
  444. }
  445. else
  446. {
  447. $litimg = 'swfupload.php?dopost=ddimg&img='.$bigimg;
  448. }
  449. $fhtml = '';
  450. $fhtml .= "<div class='albCt albEdit' id='albold{$j}'>\r\n";
  451. $fhtml .= " <input type='hidden' name='imgurl{$j}' value='{$bigimg}' />\r\n";
  452. $fhtml .= " <input type='hidden' name='imgddurl{$j}' value='{$litimg}' />\r\n";
  453. $fhtml .= " <img src='{$litimg}' width='120' /><a href=\"javascript:delAlbPicOld('$bigimg', $j)\">[删除]</a>\r\n";
  454. $fhtml .= " <div style='margin-top:10px'>注释:<input type='text' name='imgmsg{$j}' value='".$ctag->GetAtt('text')."' style='width:190px;' /></div>\r\n";
  455. $fhtml .= " <div style='margin-top:10px'>更换:<input type='file' name='imgfile{$j}' size='18' style='width:190px' /></div>\r\n";
  456. $fhtml .= "</div>\r\n";
  457. echo $fhtml;
  458. $j++;
  459. }
  460. }
  461. }
  462. $dtp->Clear();
  463. }
  464. ?>
  465. </div></td>
  466. </tr>
  467. </table></td>
  468. </tr>
  469. <tr>
  470. <td height="24" colspan="4" class="bline" style="background:#F9FCEF;"><table width="800" border="0" cellspacing="0" cellpadding="0">
  471. <tr>
  472. <td width="90">&nbsp;<b>增加新图片:</b></td>
  473. <td>
  474. <span class="btn btn-success fileinput-button">
  475. <i class="glyphicon glyphicon-plus"></i>
  476. 选择本地图片(支持多选)
  477. <input type="file" name="files[]" id="iptAlbumImages" multiple>
  478. </span>
  479. </td>
  480. </tr>
  481. </table></td>
  482. </tr>
  483. <tr>
  484. <td colspan="4" style="background:#fff url(images/albviewbg.gif) 0 20px no-repeat;"><table width='100%' height='160' style="margin:0 0 20px 0">
  485. <tr>
  486. <td><div id="divFileProgressContainer" style="height:75px;"></div>
  487. <div id="thumbnails"></div></td>
  488. </tr>
  489. </table></td>
  490. </tr>
  491. </table>
  492. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F9FCEF" style="border:1px solid #cfcfcf;border-top:none;">
  493. <tr>
  494. <td height="35"><table width="100%" border="0" cellspacing="1" cellpadding="1">
  495. <tr>
  496. <td width="10%">&nbsp;</td>
  497. <td><table width="214" border="0" cellspacing="0" cellpadding="0">
  498. <tr>
  499. <td width="115"><input name="imageField2" type="image" class="np" src="images/button_ok.gif" width="60" height="22" border="0" style="cursor:ponter" /></td>
  500. <td width="99"><img src="images/button_reset.gif" width="60" height="22" border="0" onClick="location.reload();" style="cursor:ponter" /></td>
  501. </tr>
  502. </table></td>
  503. </tr>
  504. </table></td>
  505. </tr>
  506. </table>
  507. </form>
  508. <script language='javascript'>InitPage();</script>
  509. </body>
  510. </html>