BVB Source Codes

Shandong kernel enterprise stand the source code Show ad_add.htm Source code

Return Download Shandong kernel enterprise stand the source code: download ad_add.htm Source code - Download Shandong kernel enterprise stand the source code Source code - Type:.htm
  1. <html>
  2. <head>
  3. <meta http-equiv='Content-Type' content='text/html; charset=gb2312'>
  4. <title>增加广告</title>
  5. <link href='img/base.css' rel='stylesheet' type='text/css'>
  6. <script language="javascript">
  7. function checkSubmit()
  8. {
  9.         if(document.form1.tagname.value=="")
  10.         {
  11.                 alert("广告标识不能为空!");
  12.                 document.form1.tagname.focus();
  13.                 return false;
  14.         }
  15. }
  16.  
  17. </script>
  18. </head>
  19. <body background='img/allbg.gif' leftmargin='8' topmargin='8'>
  20. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D1DDAA">
  21. <tr>
  22.     <td height="28" background="img/tbg.gif">
  23.         &nbsp;<b><a href="ad_main.php"><u>广告管理</u></a></b> &gt;&gt; 增加广告位置
  24.     </td>
  25. </tr>
  26. <tr>
  27.     <td height="200" bgcolor="#FFFFFF" valign="top">
  28.         <table width="100%" border="0" cellspacing="4" cellpadding="4">
  29.         <form action="ad_add.php" method="post" name="form1" onSubmit="return checkSubmit()">
  30.           <input type='hidden' name='dopost' value='save'>
  31.           <tr>
  32.             <td height="25" colspan="3">广告代码的调用方法:{dede:myad name='广告位标识'/} </td>
  33.           </tr>
  34.           <tr>
  35.             <td height="25" align="center">广告位标识:</td>
  36.             <td colspan="2"><input name="tagname" type="text" id="tagname" class='iptxt' />
  37.               (使用英文或数字表示的简洁标识)</td>
  38.           </tr>
  39.           <tr>
  40.             <td width="15%" height="25" align="center">广告投放范围:</td>
  41.             <td colspan="2">
  42.                         <?php
  43.                         $tl = new TypeLink(0);
  44.                         $typeOptions = $tl->GetOptionArray(0,0,0);
  45.                         echo "<select name='typeid' style='width:300px'>\r\n";
  46.                         echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n";
  47.                         echo $typeOptions;
  48.                         echo "</select>";
  49.                         ?>
  50.               <br>
  51.               (如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)</td>
  52.           </tr>
  53.           <tr>
  54.             <td height="25" align="center">广告位名称:</td>
  55.             <td colspan="2"><input name="adname" type="text" id="adname" size="30" class='iptxt' /></td>
  56.           </tr>
  57.           <tr>
  58.             <td height="25" align="center">时间限制:</td>
  59.             <td colspan="2">
  60.                 <input name="timeset" type="radio" class="np" value="0" checked='1' />
  61.               永不过期
  62.               <input type="radio" name="timeset" class="np" value="1" />
  63.               在设内时间内有效
  64.             </td>
  65.           </tr>
  66.           <tr>
  67.             <td height="25" align="center">开始时间:</td>
  68.             <td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>" class='iptxt'/></td>
  69.           </tr>
  70.           <tr>
  71.             <td height="25" align="center">结束时间:</td>
  72.             <td colspan="2"><input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>" class='iptxt'/></td>
  73.           </tr>
  74.           <tr>
  75.             <td height="80" align="center">展现方式:</td>
  76.             <td width="76%">
  77.                         <select id="adstyle" name="normbody[style]" onchange="showcode(this.options[this.selectedIndex].value)">
  78.                                 <option value="code" >代码</option>
  79.                                 <option value="txt" >文字</option>
  80.                                 <option value="img" >图片</option>
  81.                                 <option value="flash" >Flash</option>
  82.                         </select>
  83.             </td>
  84.             <td width="9%">&nbsp;</td>
  85.           </tr>
  86.           <tr>
  87.             <td height="80" align="center">广告内容:</td>
  88.             <td>
  89.             <div id='advert'></div>
  90.             <div id="code" style="display:none;" disabled>
  91.                 <table width="100%" cellpadding="3" cellspacing="1" class="i_table">
  92.                     <tr class="b">
  93.                         <td width="30%"><b>广告代码:</b><br>请填写广告代码,支持html代码</td>
  94.                         <td><textarea name="normbody[htmlcode]" rows="5" cols="50"></textarea></td>
  95.                     </tr>
  96.                 </table>
  97.             </div>
  98.             <div id="txt" style="display:none;" disabled>
  99.                  <table width="100%" cellpadding=3 cellspacing=1 class=i_table>
  100.                         <tr>
  101.                                         <td class="b" width="30%"><b>文字内容*</b></td>
  102.                                         <td class="b"><input type="text" size="70" name="normbody[title]" value="" class='iptxt'/></td>
  103.                                         </tr>
  104.                     <tr>
  105.                         <td class="b"><b>文字链接*</b></td>
  106.                         <td class="b"><input type="text" size="70" name="normbody[link]" value="" class='iptxt'/></td>
  107.                     </tr>
  108.                     <tr>
  109.                         <td class="b"><b>文字颜色</b>(例如:red,#EF8684)</td>
  110.                         <td class="b"><input type="text" size="10" name="normbody[color]" value="" class='iptxt'/></td>
  111.                     </tr>
  112.                     <tr>
  113.                         <td class="b"><b>文字大小</b>(例如:4px,12px)</td>
  114.                         <td class="b"><input type="text" size="10" name="normbody[size]" value="" class='iptxt'/></td>
  115.                     </tr>
  116.                 </table>
  117.             </div>
  118.             <div id="img" style="display:none;" disabled>
  119.                 <table width="100%" cellpadding=3 cellspacing=1 class=i_table>
  120.                     <tr>
  121.                         <td class="b" width="30%"><b>图片地址*</b></td>
  122.                         <td class="b"><input type="text" size="40" name="normbody[url]" value="" class='iptxt'/></td>
  123.                     </tr>
  124.                     <tr>
  125.                         <td class="b"><b>图片链接*</b></td>
  126.                         <td class="b"><input type="text" size="40" name="normbody[link]" value="" class='iptxt'/></td>
  127.                     </tr>
  128.                     <tr>
  129.                         <td class="b"><b>图片宽度</b></td>
  130.                         <td class="b"><input type="text" size="10" name="normbody[width]" value="" class='iptxt'/></td>
  131.                     </tr>
  132.                     <tr>
  133.                         <td class="b"><b>图片高度</b></td>
  134.                         <td class="b"><input type="text" size="10" name="normbody[height]" value="" class='iptxt'/></td>
  135.                     </tr>
  136.                     <tr>
  137.                         <td class="b"><b>图片描述</b></td>
  138.                         <td class="b"><input type="text" size="40" name="normbody[descrip]" value="" class='iptxt'/></td>
  139.                     </tr>
  140.                 </table>
  141.             </div>
  142.             <div id="flash" style="display:none;" disabled>
  143.                 <table width="100%" cellpadding=3 cellspacing=1 class=i_table>
  144.                     <tr>
  145.                         <td class="b" width="30%"><b>flash链接</b></td>
  146.                         <td class="b"><input type="text" size="40" name="normbody[link]" value="" class='iptxt'/></td>
  147.                     </tr>
  148.                     <tr>
  149.                         <td class="b"><b>flash宽度</b></td>
  150.                         <td class="b"><input type="text" size="40" name="normbody[width]" value="" class='iptxt'/></td>
  151.                     </tr>
  152.                     <tr>
  153.                         <td class="b"><b>flash高度</b></td>
  154.                         <td class="b"><input type="text" size="40" name="normbody[height]" value="" class='iptxt'/></td>
  155.                     </tr>
  156.                 </table>
  157.             </div>
  158.  
  159.             </td>
  160.             <td>&nbsp;</td>
  161.           </tr>
  162.            <tr>
  163.             <td height="80" align="center">过期显示内容:</td>
  164.             <td>
  165.              <textarea name="expbody" id="expbody" style="width:60%;height:100"></textarea>
  166.             </td>
  167.             <td>&nbsp;</td>
  168.           </tr>
  169.           <tr>
  170.             <td height="53" align="center">&nbsp;</td>
  171.             <td colspan="2">
  172.                 <input name="imageField" type="image" src="img/button_ok.gif" width="60" height="22" border="0" class="np" />
  173.             </td>
  174.           </tr>
  175.         </form>
  176.       </table>
  177.          </td>
  178. </tr>
  179. </table>
  180. <script language="JavaScript">
  181. function getObj(id){
  182.         return document.getElementById(id);
  183. }
  184. function showcode(idName){
  185.         obj  = getObj("advert");
  186.         obj2 = getObj(idName);
  187.         obj.innerHTML = obj2.innerHTML;
  188. }
  189. showcode('code');
  190. </script>
  191. </body>
  192. </html>
downloadad_add.htm Source code - Download Shandong kernel enterprise stand the source code Source code
Related Source Codes/Software:
Dede V2.2 dance music program - This system is based on DEDE5.7 sp1 production dan... 2016-11-11
Search engine v1.0 eight grams of novels - This program consists of WEB side and collection p... 2016-11-11
A thief free Jacky novel CMS, support for multiple station collection, support pseudo original SEO - A thief free Jacky novel CMS, support for multiple... 2016-11-11
Kunlun lubricating oil companies stand the source code - Just testing, free, source code is very beautiful ... 2016-11-11
Imitation of Chinese stationmaster net source dreams to 5.7 sp1 source code - Exactly the same and the Director of China network... 2016-11-11
Newscoop CMS v4.0.4 multilingual version - Newscoop is a content management system is mainly ... 2016-11-11
Ku978 navigator free send you department (with acquisition module) - Is I purchase the commercial version of this progr... 2016-11-11
Think of concise message this v1.1 - Wisdom of concise message this V1.1 main functions... 2016-11-11
nvidia-docker - Build and run Docker containers leveraging NVIDIA ... 2017-04-08
quickstart - Angular 2 QuickStart - source from the documentati... 2017-04-08
jQuery-Autocomplete - Ajax Autocomplete for jQuery allows you to easily ... 2017-04-08
Android-Best-Practices - Android best practice examples 2017-04-08
Bootstrap-Admin-Template - Metis - Free Bootstrap Admin Dashboard Template ... 2017-04-08
CocoaSPDY - SPDY for iOS and OS X 2017-04-08
parse-dashboard - A dashboard for managing your Parse apps that aren... 2017-04-08
HoloEverywhere - NO LONGER MAINTAINED. DEVELOP FOR 4.X+ DUDE. 2017-04-08
side-comments - [UNMAINTAINED] An interface component to give your... 2017-04-08
SVG-Morpheus - JavaScript library enabling SVG icons to morph fro... 2017-04-08

 Back to top