/php/xuzhou58/xuzhou58.com/member/templets/album_edit.htm
HTML | 175 lines | 175 code | 0 blank | 0 comment | 0 complexity | 708d29042896cf8e8edacfaa01a94427 MD5 | raw file
Possible License(s): GPL-3.0, LGPL-3.0, LGPL-2.1, GPL-2.0
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>????:<?php echo $row['title']?> - ???? - <?php echo $cfg_webname; ?></title>
- <link href="templets/style/base.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="templets/js/j.js"></script>
- <script type="text/javascript" src="templets/js/main.js"></script>
- <script type="text/javascript" src="templets/js/album.js"></script>
- <script type="text/javascript" src="templets/js/load.js"></script>
- <script type="text/javascript" src="templets/js/leftmenu.js"></script>
- <script type="text/javascript" src="templets/js/checkSubmit.js"></script>
- </head>
- <body>
- <div id="main">
- <?php include(DEDEMEMBER."/templets/head.htm"); ?>
- <div id="content" class="w960 clearfix">
- <?php include(DEDEMEMBER."/templets/menu.php"); ?>
- <div id="mcpmain">
- <div id="appTab">
- <ul>
- <li class="thisTab"><a href="#"><span>????</span></a></li>
- </ul>
- </div>
- <form name="addcontent" action="album_edit.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
- <input type="hidden" name="dopost" value="save" />
- <input type="hidden" name="aid" value="<?php echo $row['id']; ?>" />
- <input type="hidden" name="idhash" value="<?php echo md5($row['id'].$cfg_cookie_encode); ?>" />
- <input type="hidden" name="channelid" value="<?php echo $row['channel']; ?>" />
- <input type="hidden" name="oldlitpic" value="<?php echo $row['litpic']; ?>" />
- <input type="hidden" name="sortrank" value="<?php echo $row['sortrank']; ?>" />
- <input type="hidden" name="imagebody" id="imagebody" value='' />
- <div id="mainCp">
- <h3 class="meTitle"><strong>????</strong></h3>
- <div class="postForm">
- <p class="cellBg">
- <label>?????</label>
- <input name="title" type="text" id="title" value="<?php echo $row['title']?>" maxlength="100" class="intxt"/>
- </p>
- <p>
- <label>??TAG?</label>
- <input name="tags" type="text" id="tags" value="<?php echo GetTags($row['id']); ?>" maxlength="100" class="intxt"/>(?????)
- </p>
- <p class="cellBg">
- <label>???</label>
- <input type="text" name="writer" id="writer" value="<?php echo $cfg_ml->M_UserName?>" maxlength="100" class="intxt" style="width:219px"/>
- </p>
- <p>
- <label>?????</label>
- <?php
- $typeOptions = GetOptionList($row["typeid"],$row["channel"]);
- echo "<select name='typeid' size='1'>\r\n";
- echo $typeOptions;
- echo "</select>";
- ?>
- <span style="color:#F00">*</span>(??????????)
- </p>
- <p class="cellBg">
- <label>?????</label>
- <?php
- $typeOptions = classification($cfg_ml->M_ID, $row['mtype'], $channelid);
- echo "<select name='mtypesid' size='1'>\r\n";
- echo "<option value='0' selected>?????...</option>\r\n";
- echo $typeOptions;
- echo "</select>";
- ?>
- </p>
- <p>
- <label>?????</label>
- <textarea name="description" id="description"><?php echo $row["description"]; ?></textarea>(???????)
- </p>
- <p class="cellBg">
- <label>????</label>
- <input name="litpic" type="file" id="litpic" onchange="SeePicNew('divpicview',this);" maxlength="100" class="intxt"/>
- </p>
- <?php if($row['litpic']!=''){ ?>
- <p>
- <label style="width: 85px;">???????</label>
- <img name="nlitpic" id="nlitpic" src='<?php echo $row['litpic']; ?>' style="width: 200px; height:150px"/>
- </p>
- <?php
- }
- //?????
- PrintAutoFieldsEdit($row['fieldset'],$addRow,'autofield');
- ?>
- </div>
- <input name="maxwidth" type="hidden" id="maxwidth" value="<?php echo $abinfo->GetAtt('maxwidth'); ?>" />
- <input name="prow" type="hidden" value="<?php echo $abinfo->GetAtt('row'); ?>" />
- <input name="pcol" type="hidden" value="<?php echo $abinfo->GetAtt('col'); ?>" />
- <input name="ddmaxwidth" type="hidden" value="<?php echo $abinfo->GetAtt('ddmaxwidth'); ?>" />
- <h3 class="meTitle">????</h3>
- <div class="contentShow postForm">
- <p class="cellBg">
- <label>?????</label>
- <input name="pagestyle" type="radio" id="pagestyle1" onclick="checkMuList()" value="1" <?php if($cfg_album_style==1) echo " checked='checked'"; ?> /> ??????(???QQ???)
- <input name="pagestyle" type="radio" id="pagestyle2" onclick="checkMuList()" value="2" <?php if($cfg_album_style==2) echo " checked='checked'"; ?> />??????(??)
- <input name="pagestyle" type="radio" id="pagestyle3" onclick="checkMuList()" value="3" <?php if($cfg_album_style==3) echo " checked='checked'"; ?> />??????(???)
- <label> <div id="spagelist" style="<?php if($abinfo->GetAtt('value')!=2) echo "display:none"; ?>"> ??????</label>
- <input name="pagpicnum" id="pagpicnum" value="<?php echo $abinfo->GetAtt('pagpicnum'); ?>" maxlength="100" class="intxt" style="width:64px"/>
- </div>
- </p>
- <p>
- <label>?????</label>
- <input name="picnum" type="text" id="picnum" size="8" value="3" maxlength="100" class="intxt"/>
- <button class="buttonGary2" name='kkkup' type='button' id='kkkup2' onclick="MakeUpload(0);">??</button>
- (??60?)
- </p>
- <p>
- <div id="uploadfield"></div>
- <?php
- $j = 1;
- if(is_array($dtp->CTags))
- {
- foreach($dtp->CTags as $ctag){
- if($ctag->GetName()=="img"){
- ?>
- <table width='98%' align="center">
- <tr>
- <td height="18"><input type='checkbox' name='isokcheck<?php echo $j; ?>' id='isokcheck<?php echo $j; ?>' value='1' class='np' onclick='CheckSelTable(<?php echo $j; ?>)' checked='1' />
- ??/????[<?php echo $j; ?>]??? </td>
- </tr>
- </table>
- <table width="98%" border="0" id="seltb<?php echo $j; ?>" style="margin-bottom:6px;" align="center">
- <tr bgcolor="#F7F7F7">
- <td height="25" colspan="2">?<strong>??</strong></td>
- </tr>
- <tr>
- <td width="310" height="25">??????
- <input type="file" name='imgfile<?php echo $j; ?>' style="width:200px;" maxlength="100" class="intxt" onchange="SeePicNew('divpicview<?php echo $j; ?>',this);" />
- </td>
- <td width="322" rowspan="3" align="center"><div id='divpicview<?php echo $j; ?>' class='divpre' style="height:5px"></div>
- <img src="<?php echo trim($ctag->GetInnerText()); ?>" id="picview<?php echo $j; ?>" name="picview<?php echo $j; ?>" style="width: 128px; height: 128px;"/></td>
- </tr>
- <input type="hidden" name='imgurl<?php echo $j; ?>' value='<?php echo trim($ctag->GetInnerText())?>' />
- <tr>
- <td height="56">??????
- <textarea name='imgmsg<?php echo $j; ?>' style="height:46px;width:200px"><?php echo trim($ctag->GetAtt('text'))?></textarea></td>
- </tr>
- </table>
- <?php
- $j++;
- }
- }
- }
- $dtp->Clear();
- ?>
- <span id='uploadfield'></span>
- <script language="JavaScript">
- startNum = <?php echo $j; ?>;
- </script>
- </p>
- <?php
- //??????????????????
- if(preg_match("/3/",$safe_gdopen)){
- ?>
- <p class="cellBg">
- <label>????</label>
- <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style='width:50px;text-transform:uppercase;' />
- <img src="../include/vdimgck.php" alt="????????" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" />
- </p>
- <?php
- }
- ?>
- <p>
- <button type="submit" class="button2">??</button>
- <button type="reset" onclick="location.reload();" class="button2 ml10">??</button>
- </p>
- </div>
- </form>
- </div>
- </div>
- <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
- </div>
- </body>
- </html>