⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default_addbizcx.tpl.php

📁 城市分类信息,门户网站,我做为地方信息网
💻 PHP
📖 第 1 页 / 共 2 页
字号:
</table><table width="100%" border="0" cellspacing="0" cellpadding="0">  <tr>    <td height="35" class="left"><strong>发布促销</strong>        </td>  </tr></table><table width="94%" border="0" cellspacing="0" cellpadding="0"><form action='index.php?action=savebizcx&bizid=<?=$bizid?>' method="POST" name="form1" enctype="multipart/form-data" target="iframe_data"><input type="hidden" name="formhash" value="<?=FORMHASH?>">  <tr>    <td height="20" class="left">开始时间:</td>    <td class="left">        &nbsp;<INPUT name="start_time" id="start_time"> <img src="../images/common/img.gif" id="f_trigger_c" style="cursor: pointer; border: 1px solid red;" title="时间控件"      onmouseover="this.style.background='red';" onmouseout="this.style.background=''" />        </td>  </tr>   <tr>    <td height="20" class="left">结束时间:</td>    <td class="left">        &nbsp;<INPUT name="end_time" id="end_time"> <img src="../images/common/img.gif" id="f_trigger_cc" style="cursor: pointer; border: 1px solid red;" title="时间控件"      onmouseover="this.style.background='red';" onmouseout="this.style.background=''" />        </td>  </tr>   <tr>    <td height="20" class="left">促销标题:</td>    <td class="left">        &nbsp;<input type="text" name="subject" id="subject" size="50" maxlength="100"/>        </td>  </tr>   <tr>    <td height="20" class="left">促销类型:</td>    <td class="left">    <? if(is_array($biz_coupon)) { foreach($biz_coupon as $key => $var) { ?>        &nbsp;<input type="radio" name="cptype" id="cptype" value="<?=$key?>"><?=$var?>        <? } } ?>        </td>  </tr>   <tr>    <td height="20" class="left">促销内容:</td>    <td class="left">        &nbsp;<textarea name="content" rows="2" cols="20" id="content" style="height:100px;width:400px;"></textarea>        </td>  </tr>   <tr>    <td height="20" class="left">商品图片:</td>    <td class="left">        &nbsp;<input type="file" name="imgfile" id="imgfile" />        </td>  </tr>  	  <script type="text/javascript">   	 Calendar.setup({        inputField     :    "start_time",     // id of the input field        ifFormat       :    "%Y-%m-%d",      // format of the input field        button         :    "f_trigger_c",  // trigger for the calendar (button ID)        align          :    "Br",           // alignment (defaults to "Bl")        singleClick    :    true    });       	 Calendar.setup({        inputField     :    "end_time",     // id of the input field        ifFormat       :    "%Y-%m-%d",      // format of the input field        button         :    "f_trigger_cc",  // trigger for the calendar (button ID)        align          :    "Br",           // alignment (defaults to "Bl")        singleClick    :    true    });</script>  <tr>    <td colspan="2" class="left">&nbsp;</td>  </tr>  <tr>    <td>&nbsp;</td>    <td>&nbsp;<input type="button" name="savebutton" value="保 存" onclick="javascript:checkForm()" id="savebutton" style="font-size:12px;height:28px;width:63px;" /></td>  </tr>    <tr>        <td>        </td>        <td>        </td>    </tr>        <tr>        <td>        </td>        <td>        <table><tr>        <? if(is_array($bizproduct)) { foreach($bizproduct as $key => $product) { ?>        <? if($key%4==0) { ?>        </tr><tr>        <? } ?>        <td><img src="<?=$product['imgsrc']?>" width="80" height="80">&nbsp;<br><?=$product['pname']?><br><a href='index.php?action=modproduct&bizid=<?=$bizid?>&ptid=<?=$product['ptid']?>'>[修改名称]</a> <a href='index.php?action=delproduct&bizid=<?=$bizid?>&ptid=<?=$product['ptid']?>' target="iframe_data">[删除商品]</a></td>        <? } } ?>        </tr>        </table>        </td>    </tr> </table></form>               <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">                         <tr>            <td>                           <table id="Repeater1" cellspacing="0" border="0" style="border-collapse:collapse;">                <? if(is_array($bizcoupon)) { foreach($bizcoupon as $var) { ?><tr><td> <table width="500" border="0" cellspacing="0" cellpadding="0">  <tr><td><input name="Repeater1<?=$ctl00?><?=$t2?>" type="text" value="1091" id="Repeater1_ctl00_t2" style="border-width:0px;height:0px;width:0px;" />  <a id="Repeater1_ctl00_LinkButton2" href='index.php?action=delbizcx&bizid=<?=$bizid?>&cpid=<?=$var['cpid']?>' target="iframe_data">删除信息</a>&nbsp;&nbsp;</td>  </tr>  <tr><td bgcolor="#e2f5ff" style="border:1px solid #00a8ff; padding:5px; line-height:18px;" ><b>开始日期:<?=$var['stime']?><br />结束日期:<?=$var['etime']?><br /></b><?=$var['subject']?></td>  </tr>  <tr><td height="15"></td>  </tr></table>             </td></tr> <? } } ?></table>                                </td>          </tr>               </table>                                 </td>                </tr>              </table>                      <br />        <script type="text/javascript">        <!--        function checkForm(){        	if(trim($('start_time').value)==''){alert('请输入开始时间');return false;        	}        	        	if(trim($('end_time').value)==''){alert('请输入结束时间');return false;        	}            	if(trim($('subject').value)==''){alert('请输入促销标题');return false;        	}        	        	if(trim($('content').value)==''){alert('请输入促销内容');return false;        	}        	/*        	expandstr = $('imgfile').value.substr($('imgfile').value.lastIndexOf('.'),$('imgfile').value.length);        	if(expandstr.toLowerCase() !='.jpg' && expandstr.toLowerCase() !='.gif' && expandstr.toLowerCase() != '.jpeg'){        		alert('请确认图片的格式是否为 gif 或者 jpg,只允许上传gif或者jpg格式的图片');        		return false;        	}*/$('savebutton').disabled = true;        	document.form1.submit();        }        -->        </script>        <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style=" border-bottom:solid 1px #eeeeee">&nbsp;</td>
  </tr>
</table>

<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>
      <td height="64" align="center"  style="line-height:20px">
    
      <?=SOCITYVER?>  当前使用模板:<b style="color:#99d300">[生活通]</b > <br />
      <? if(debuginfo()) { ?>&nbsp;  Processed in <?=$debuginfo['time']?> second(s) &nbsp; &nbsp; <? } ?> <? if($icp) { ?><a href="http://www.miibeian.gov.cn" target=_blank><?=$icp?></a><? } ?>      <?php fupsession(); ?></td>
  </tr>
  <tr>
   <td height="5" align="right"></td>
  </tr>
</table>

<map name="Map" id="Map"><area shape="rect" coords="8,3,79,21" href="../about/" />
<area shape="rect" coords="100,2,171,21" href="../about/" />
<area shape="rect" coords="190,4,263,21" href="../about/" />
<area shape="rect" coords="278,2,354,20" href="../about/" />
<area shape="rect" coords="370,2,443,20" href="../about/" />
<area shape="rect" coords="456,2,508,20" href="../about/" />
</map>
       
    
    

</body>
</html><?php output(); ?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -