default_addbiz.tpl.php
来自「城市分类信息,门户网站,我做为地方信息网」· PHP 代码 · 共 528 行 · 第 1/2 页
PHP
528 行
<tr> <td height="20" class="left"><strong>消费指南</strong></td> <td class="left"> </td> </tr> <tr> <td height="20" valign="top" class="left">环境气氛:</td> <td class="left"> <table id="CheckBoxList5" border="0"><tr><? if(is_array($biz_specail['environment'])) { foreach($biz_specail['environment'] as $key => $var) { if($key % 7 == 0) { ?></tr><tr><? } ?><td><input id="bizinfo[biz_env][]" type="checkbox" name="bizinfo[biz_env][]" value="<?=$key?>"/><label for="CheckBoxList6_0"><?=$var?></label></td><? } } ?></tr></table></td> </tr> <tr> <td height="20" valign="top" class="left">消费对象:</td> <td class="left"> <table id="CheckBoxList6" border="0"><tr><? if(is_array($biz_specail['customer'])) { foreach($biz_specail['customer'] as $key => $var) { if($key % 7 == 0) { ?></tr><tr><? } ?><td><input id="bizinfo[biz_customer][]" type="checkbox" name="bizinfo[biz_customer][]" value="<?=$key?>"/><label for="CheckBoxList6_0"><?=$var?></label></td><? } } ?></tr></table></td> </tr> <tr> <td height="30" class="left">商家规模:</td> <td class="left"> <table id="CheckBoxList7" border="0"><tr><? if(is_array($biz_specail['scale'])) { foreach($biz_specail['scale'] as $key => $var) { if($key % 7 == 0) { ?></tr><tr><? } ?><td><input id="bizinfo[biz_scale]" type="radio" name="bizinfo[biz_scale]" value="<?=$key?>"/><?=$var?></td><? } } ?></tr></table></td> </tr> <tr> <td height="30" class="left">人均消费:</td> <td class="left"> <table id="CheckBoxList8" border="0"><tr><? if(is_array($biz_specail['ave_consume'])) { foreach($biz_specail['ave_consume'] as $key => $var) { if($key % 7 == 0) { ?></tr><tr><? } ?><td><input id="bizinfo[biz_ave_consume]" type="radio" name="bizinfo[biz_ave_consume]" value="<?=$key?>" /><?=$var?></td><? } } ?></tr></table></td> </tr> <tr> <td height="20" class="left"><strong>特色服务</strong></td> <td class="left"> </td> </tr> <tr> <td height="20" class="left" valign="top">特色服务:</td> <td class="left"> <table id="CheckBoxList9" border="0"><tr><? if(is_array($biz_specail['service'])) { foreach($biz_specail['service'] as $key => $var) { if($key % 7 == 0) { ?></tr><tr><? } ?><td><input id="bizinfo[biz_service][]" type="checkbox" name="bizinfo[biz_service][]" value="<?=$key?>"/><?=$var?></td><? } } ?></tr></table></td> </tr> <tr> <td height="20" class="left"><strong>城市地图</strong></td> <td class="left"> </td> </tr> <tr> <td class="left" style="height: 20px" valign="top"> *商家位置 </td> <td class="left" style="height: 20px"> <iframe src="../map/addbiz_map.php" frameborder="0" height="355" scrolling="no" width="605" name="mapiframe" id="mapiframe"></iframe> </td> </tr> <tr> <td class="left" style="height: 20px"> </td> <td class="left" style="height: 20px"> </td> </tr> <tr> <td height="20" colspan="2" class="left"> <input type="checkbox" name="isboss" onclick="changeIsboss()" value="0">我是该商家的经营者,我希望加盟并取得后台账户,请与我联系。 </td> </tr> <tr> <td height="20" colspan="2" class="left"> <span style="color: #d11b00">*真实姓名:</span><input name="bossname" type="text" id="bossname" /><br /> <span style="color: #d11b00">*联系电话:</span><input name="bosstel" type="text" id="bosstel" /><br /> <span style="color: #d11b00">*电子邮箱:</span><input name="bossemail" type="text" id="bossemail" /> </td> </tr> <tr> <td> </td> <td> <br /> <br /> <b>您发布的信息务备真实可靠,夸大的信息我们可能会在未通知您的情况下删除店铺资料!</b><br /><br /></td> </tr> <tr> <td> </td> <td> <input type="button" name="Button2" value="确认发布店铺资料" onclick="javascript:checkForm();" id="Button2" style="font-size:12px;width:200px;" /><input type="hidden" name="weizhiX" value="0"><input type="hidden" name="weizhiY" value="0"> </td> </tr> </form> </table> <br /> <br /><br /> <br /> </div> <script language="javascript" src="../webdata/js/abc.js"></script><script>function isArray(a){return isObject(a) && a.constructor == Array;}function isObject(a){return (a && typeof a == 'object') || isFunction(a);}function showBizSort(id_sort, kind_id, old_sorts){var str='';str = ' <table id="RadioButtonList1" border="0">';var n = 0;for(var i=0; i < sort_list.length; i++){if(sort_list[i][0] == kind_id){n ++;str += '<td><input type="checkbox" name="bizinfo[biz_sort][]" value = "' + sort_list[i][1] + '" '+ '/>' + sort_list[i][2] + '</td>';if( n % 6 == 0){str += '</tr><tr>';}}}str += '</table>';return str;}function showStr(str){$('div_sorts').innerHTML = str;}function change_kind(kind_id) {var old_sorts = new Array();showStr(showBizSort("sorts", kind_id, old_sorts));}change_kind(<?=$bid?>);function changeIsboss(){if($('isboss').value == '0') {$('isboss').value = 1;} else {$('isboss').value = 0;}}function checkForm(){var biz_name = trim($('bizinfo[biz_name]').value);var biz_intro = trim($('bizinfo[biz_intro]').value);var weizhiX = parseInt($('weizhiX').value);var weizhiY = parseInt($('weizhiY').value);if(biz_name == 0) {alert('请输入商家名称');$('bizinfo[biz_name]').focus();return false;}if(biz_intro == 0) {alert('请输入商家简介');$('bizinfo[biz_intro]').focus();return false;}if(weizhiX == 0 || weizhiY == 0) {alert('请在地图上标记位置');return false;}if($('isboss').value == 1) {if(trim($('bossname').value) == '') {alert('请输入真实姓名');$('bossname').focus();return false;}if(trim($('bosstel').value) == '') {alert('请输入联系电话');$('bosstel').focus();return false; }if(trim($('bossemail').value) == '') {alert('请输入电子邮箱');$('bossemail').focus();return false; }}document.form1.submit();}</script><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style=" border-bottom:solid 1px #eeeeee"> </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()) { ?> Processed in <?=$debuginfo['time']?> second(s) <? } ?> <? 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 + =
减小字号Ctrl + -
显示快捷键?