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

📄 %%85^854^85406ef0%%user_info.html.php

📁 采用了更为友好的操作界面
💻 PHP
📖 第 1 页 / 共 2 页
字号:
<?php /* Smarty version 2.6.6, created on 2006-11-28 16:44:24         compiled from user_info.html */ ?><?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'user_info.html', 140, false),)), $this); ?><script language=JavaScript1.2>
function showsubmenu(ss,ii,aa)
{
var menuobjedt=document.getElementById(ss);
if (menuobjedt)
{
 if (menuobjedt.style.display=="none") 
  {menuobjedt.style.display="";
}
 else
  {menuobjedt.style.display="none"; 
   }
}
}
function ismail(mail)
{
	return(new RegExp(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/).test(mail));
}
function isstr(website)
{
	return(/[^a-zA-Z]/g.test(website));
}
function regcheck(formct){
	if (!ismail(formct.email.value)){
		alert('email格式不对,请填写');
		return false;
	}
}
function sitecheck(formct){
	if (formct.sitename.value == ""){
		alert('站点名称为空,请填写');
		return false;
	}
	if (formct.website.value == ""){
		alert('站点代码为空,请填写');
		return false;
	}
	if (isstr(formct.website.value)){
		alert('站点代码格式不对,请填写');
		return false;
	}
	if (formct.site.value == ""){
		alert('站点地址为空,请填写');
		return false;
	}
}
function openwindow(strURL){
	strURL = strURL;
	nWidth = screen.availWidth;
	nHeight = screen.availHeight;
	window.open(strURL, "","toolbar=no,location=no,directories=no,status=yes,"+ "menubar=no,copyhistory=no,left=0,top=0,scrollbars=yes,resizable=yes,"+ "width=" + nWidth + ",height=" + nHeight);
}
</script>
<br>

  <?php if ($this->_tpl_vars['selectMode'] == 'user'): ?>
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" > 
  <tr class=line_title> 
    <td><form name="formuser" method="post" action="" onSubmit='return regcheck(formuser)'>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td><strong><a href="#">图片模式</a></strong></td>
            <td><div align="right"><a href="site_list.php?website=true&action=sitelist">返回-<strong></strong><strong>站点列表</strong></a></div></td>
          </tr>
        </table>
      </form></td>
  </tr></table>
  <?php endif; ?> <?php if ($this->_tpl_vars['selectMode'] == 'site'): ?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" > 
  <tr valign="top"> 
    <td height="432"> 
      <form action="" method="post" name="formedit" id="formedit"  onSubmit='return sitecheck(formedit)'>
        
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr class=titlefont> 
          <td >添加/修改一个站点的信息</td>
          <td ><div align="right"><a href="site_list.php?website=true&action=sitelist"></a></div></td>
        </tr>
      </table>
        
      <table style="BORDER-COLLAPSE: collapse" borderColor=#93C2DC cellPadding=2 width="100%" border=1>
        <tr> 
          <td width="20%" height="26"><strong>站点信息</strong></td>
          <td width="80%" height="26">&nbsp;</td>
        </tr>
        <tr> 
          <td height="26">站点名称*</td>
          <td height="26"> 
            <input name="sitename" type="text" id="sitename" value="<?php echo $this->_tpl_vars['UserData']['sitename']; ?>" maxlength="10" class=input> 
          </td>
        </tr>
        <tr> 
          <td height="26">站点代码*</td>
          <td height="26"> 
            <input name="website" type="text" id="sitename" value="<?php echo $this->_tpl_vars['UserData']['website']; ?>" maxlength="10"  class=input>
            站点统计代码,字符[a-Z]</td>
        </tr>
        <tr> 
          <td height="26">站点介绍*</td>
          <td height="26"> 
            <input name="sitedes" type="text" id="sitedes" value="<?php echo $this->_tpl_vars['UserData']['sitedes']; ?>" size="50" maxlength="125"  class=input> 
          </td>
        </tr>
        <tr> 
          <td height="26">站点地址*</td>
          <td height="26"> 
            <input name="site" type="text" id="site" value="<?php echo $this->_tpl_vars['UserData']['site']; ?>" size="50" maxlength="125"  class=input> 
          </td>
        </tr>
        <tr> 
          <td height="26">统计类型*</td>
          <td height="26"> 
            <select name="sitetype"  class=input>
              <option value=<?php echo $this->_tpl_vars['UserData']['sitetypevalue']; ?>><?php echo $this->_tpl_vars['UserData']['sitetypetext']; ?></option>
              <option value=0>作为主站</option>
			  <?php if (count($_from = (array)$this->_tpl_vars['sitetype'])):    foreach ($_from as $this->_tpl_vars['Key'] => $this->_tpl_vars['Item']):?> 
			    <option value=<?php echo $this->_tpl_vars['Item']['website']; ?>>作为 <?php echo $this->_tpl_vars['Item']['sitename']; ?> 的频道或者子站</option>
			  <?php endforeach; unset($_from); endif; ?>
              <!--FIXME-->
            </select> 
          </td>
        </tr>
        <tr> 
          <td height="26">公开统计结果*</td>
          <td height="26"> 
            <select name="siteshow"  class=input>
              <option selected value=<?php echo $this->_tpl_vars['UserData']['siteshow']; ?>><?php echo $this->_tpl_vars['UserData']['siteshowtext']; ?></option>
              <option value=no>需要密码</option>
              <option value=yes>公开结果</option>
              <!--FIXME-->
            </select> 
          </td>
        </tr>
        <tr> 
          <td height="27" colspan="2"> 
            <div align="center"><font color="#FFFFFF"> 
              <input name="action" type="hidden" id="action" value="<?php echo ((is_array($_tmp=@$this->_tpl_vars['action'])) ? $this->_run_mod_handler('default', true, $_tmp, 'updatesite') : smarty_modifier_default($_tmp, 'updatesite')); ?>">
              <input name="websiteid" type="hidden" id="websiteid" value="<?php echo $this->_tpl_vars['UserData']['id']; ?>">
              </font> 
              <input name="button" type="submit" class=pagebutton id="button" value=" <?php echo ((is_array($_tmp=@$this->_tpl_vars['submit'])) ? $this->_run_mod_handler('default', true, $_tmp, "修改") : smarty_modifier_default($_tmp, "修改")); ?>">
			  <input name="button" type="button" class=pagebutton id="button" value=" 返回" onclick="window.history.go(-1)">
            </div>
            <div align="left"></div></td>
        </tr>
        <tr>
          <td height="27" colspan="2"><div align="right"><a href="site_list.php?website=true&action=sitelist">返回-<strong></strong><strong>站点列表</strong></a></div></td>
        </tr>
      </table>
	  </form>
		 <?php endif; ?> <?php if ($this->_tpl_vars['selectMode'] == 'sitelist'): ?> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
         
          <tr>

⌨️ 快捷键说明

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