Example #1
1
 public function Save()
 {
     if ($this->_POST) {
         $ID = _intval($this->_POST['ID'], true);
         $Data['Title'] = trim($this->_POST['Title']);
         $Data['Url'] = trim($this->_POST['Url']);
         $Data['Describe'] = trim($this->_POST['Describe']);
         $Data['DisplayOrder'] = _intval($this->_POST['DisplayOrder'], true);
         $Data['Property'] = _intval($this->_POST['Property'], true) ? 1 : 0;
         $Data['Status'] = _intval($this->_POST['Status'], true) ? 1 : 0;
         $Data['CategoryID'] = _intval($this->_POST['CategoryID'], true);
         if (!$ID) {
             $Data['Created'] = date('Y-m-d H:i:s', $this->timestamp);
             $Data['CreatedUserID'] = $this->UserID;
         } else {
             $Data['Modified'] = date('Y-m-d H:i:s', $this->timestamp);
             $Data['ModifiedUserID'] = $this->UserID;
         }
         $DB = new DB();
         if ($ID) {
             if ($DB->UpdateArray('tbl_links', $Data, array('ID' => $ID))) {
                 $this->__Message('修改友情链接成功!', UrlRewriteSimple('Links', 'Index', true), '继续操作');
             } else {
                 $this->__Message('修改友情链接失败,请再一次尝试!');
             }
         } else {
             if ($DB->insertArray('tbl_links', $Data)) {
                 $this->__Message('添加友情链接成功!', UrlRewriteSimple('Links', 'Index', true), '继续操作');
             } else {
                 $this->__Message('添加友情链接失败,请再一次尝试!');
             }
         }
     }
 }
Example #2
0
 public function Add()
 {
     if ($this->_GET['SeverID']) {
         $FuwuqiModel = new FuwuqiModule();
         $Data = $FuwuqiModel->GetOneInfoByKeyID($this->_GET['SeverID']);
         $this->Data = $Data;
     } elseif ($this->_POST['SeverID']) {
         $Data['FuwuqiName'] = trim($this->_POST['FuwuqiName']);
         $Data['IP'] = trim($this->_POST['IP']);
         $Data['CName'] = trim($this->_POST['CName']);
         $Data['FwAdress'] = trim($this->_POST['FwAdress']);
         $Data['FTP'] = trim($this->_POST['FTP']);
         $Data['FTPName'] = trim($this->_POST['FTPName']);
         $Data['FTPPassword'] = trim($this->_POST['FTPPassword']);
         $Data['FTPDuankou'] = trim($this->_POST['FTPDuankou']);
         $Data['FTPMulu'] = trim($this->_POST['FTPMulu']);
         if ($this->_POST['State']) {
             $Data['State'] = 1;
         } else {
             $Data['State'] = 0;
         }
         if ($Data['FuwuqiName'] == '') {
             $this->__Message('服务器名称不能为空!');
         }
         $FuwuqiModel = new FuwuqiModule();
         if ($FuwuqiModel->UpdateArrayByKeyID($Data, $this->_POST['SeverID'])) {
             $this->__Message('修改服务器成功!', UrlRewriteSimple('Fuwuqi', 'Manage', true), '继续操作');
         } else {
             $this->__Message('修改服务器失败,请再一次尝试!');
         }
     } else {
         if ($this->_POST) {
             $Data['FuwuqiName'] = trim($this->_POST['FuwuqiName']);
             $Data['IP'] = trim($this->_POST['IP']);
             $Data['CName'] = trim($this->_POST['CName']);
             $Data['FwAdress'] = trim($this->_POST['FwAdress']);
             $Data['FTP'] = trim($this->_POST['FTP']);
             $Data['FTPName'] = trim($this->_POST['FTPName']);
             $Data['FTPPassword'] = trim($this->_POST['FTPPassword']);
             $Data['FTPDuankou'] = trim($this->_POST['FTPDuankou']);
             $Data['FTPMulu'] = trim($this->_POST['FTPMulu']);
             if ($this->_POST['State']) {
                 $Data['State'] = 1;
             } else {
                 $Data['State'] = 0;
             }
             if ($Data['FuwuqiName'] == '') {
                 $this->__Message('服务器名称不能为空!');
             }
             $FuwuqiModel = new FuwuqiModule();
             if ($FuwuqiModel->InsertArray($Data)) {
                 $this->__Message('添加服务器成功!', UrlRewriteSimple('Fuwuqi', 'Manage', true), '继续操作');
             } else {
                 $this->__Message('添加服务器失败,请再一次尝试!');
             }
         }
     }
 }
Example #3
0
 public function Delete()
 {
     $Templates = new TemplateModule('/templates');
     $Path = trim($this->_GET['Path']);
     $tmpPaths = pathinfo($Path);
     if ($tmpPaths && $tmpPaths['dirname']) {
         $newPath = $tmpPaths['dirname'];
     }
     if ($Templates->Delete($Path)) {
         $this->__Message('删除' . $Path . '成功!', UrlRewriteSimple('Template', 'Lists', true) . '&Path=' . $newPath, '继续操作');
     } else {
         $this->__Message('删除' . $Path . '失败!');
     }
 }
Example #4
0
 public function Update()
 {
     if ($this->_POST) {
         $VariablesModule = new VariablesModule();
         $VariableName = trim($this->_POST['VariableName']);
         $VariableDescribe = trim($this->_POST['VariableDescribe']);
         $VariableValue = trim($this->_POST['VariableValue']);
         $VariableType = _intval($this->_POST['VariableType']);
         if (strlen($VariableName) <= 0 || strlen($VariableValue) <= 0) {
             $this->__Message('全局参数的命名和取值不得为空!');
         }
         if ($VariablesModule->Create($VariableName, $VariableValue, $VariableDescribe, $VariableType)) {
             $this->__Message('保存参数成功!', UrlRewriteSimple('GlobalCfgs', 'Lists'), '继续操作');
         } else {
             $this->__Message('保存参数失败!');
         }
     }
 }
Example #5
0
 public function CreateSave()
 {
     if ($this->_POST) {
         $Data['CategoryName'] = trim($this->_POST['CategoryName']);
         if (!$Data['CategoryName'] || strlen($Data['CategoryName']) > 60) {
             JsMessage('很抱歉, 外链目录名称是必填项,且长度不得超过20个汉字(60个半角字符)!');
         }
         $CategoryID = _intval($this->_POST['CategoryID'], true);
         if (!$CategoryID) {
             $Data['ParentCategoryID'] = _intval($this->_POST['ParentCategoryID'], true);
         }
         $Data['Alias'] = trim($this->_POST['Alias']);
         if (!$Data['Alias'] || strlen($Data['Alias']) > 30) {
             JsMessage('很抱歉, 外链目录别名是必填项,且长度不得超过30个字符!');
         }
         if (!preg_match("/^([A-Za-z0-9]+)\$/", $Data['Alias'])) {
             JsMessage('很抱歉, 外链目录别名只接受英文字母子与数字字符!');
         }
         $Data['DisplayOrder'] = _intval($this->_POST['DisplayOrder'], true);
         $Category = new LinksCategoryModule();
         if ($Category->CheckAlias($Data['Alias'], $CategoryID)) {
             JsMessage('很抱歉, 外链目录别名“' . $Data['Alias'] . '”是已经使用,请使用其它的别名!');
         }
         if (!$CategoryID) {
             if ($Category->Create($Data)) {
                 JsMessage('外链目录资料保存成功!', UrlRewriteSimple('LinksCategory', 'Index', true));
             } else {
                 JsMessage('外链目录资料保存失败! 请重试!');
             }
         } else {
             if ($Category->Update($CategoryID, $Data)) {
                 JsMessage('外链目录资料保存成功!', UrlRewriteSimple('LinksCategory', 'Index', true));
             } else {
                 JsMessage('外链目录资料保存失败! 请重试!');
             }
         }
     } else {
         JsMessage('很抱歉,您没有提交任何信息!');
     }
 }
Example #6
0
                  <input name="ToPage" id="ToPage" onKeyUp="ToPage(<?php 
echo $Data['PageCount'];
?>
)" ; type="text" style="width: 30px; margin: 0px 4px;" />
                  页 <span
										id="ToPage_Test" style="color: #F00"></span> <script
											type="text/javascript">
                                    function ToPage(PageCount){
                                        var pages = document.getElementById("ToPage").value;
                                        if(pages>PageCount || pages<1)
                                        {
                                            document.getElementById("ToPage_Test").innerHTML='请填写正确分页';
                                            return false;
                                        }
                                        location.href = "<?php 
echo UrlRewriteSimple($MyModule, 'Customer', true) . '&Page=';
?>
"+pages;
                                    }
                                </script></td>
              </tr>
            </tfoot>
          </table>
          <script type="text/javascript">
                        //grid("名称","奇数行背景","偶数行背景","鼠标经过背景","点击后背景");
                        grid("grid","#f9fcfd","#ffffff");
                    	function ftpcheck(){
                      		 var ftp = document.getElementsByName("ftp");
                      		 var a;
                      	     var ftpValue;
                      	     for(a=0; a<ftp.length; a++){//遍历单选框
Example #7
0
            ?>
 
  <a href="<?php 
            echo UrlRewriteSimple($MyModule, 'Lists', true);
            ?>
&Page=<?php 
            echo $PageVal;
            ?>
"><?php 
            echo $PageVal;
            ?>
</a>&nbsp;&nbsp; 
  
<?php 
        }
    }
    ?>
 
  <a href="<?php 
    echo UrlRewriteSimple($MyModule, 'Lists', true);
    ?>
&Page=<?php 
    echo $Data['PageCount'];
    ?>
">尾页</a>&nbsp;&nbsp;
  <?php 
}
?>
 </div>
</body>
</html>
Example #8
0
		$('.EmailMessage').css('color','#f00');
		$('.EmailMessage').html(data['Message']);
	}
	else{
		$('.EmailMessage').css('color','#006600');
		$('.EmailMessage').html(data['Message']);
	}
}
</script>

</head>

<body>
<div>
<form action="<?php 
echo UrlRewriteSimple('Users', 'NewUser', true);
?>
"
	method="post" enctype="multipart/form-data" name="form1" id="form1">
    
<div class="panel">
  <div class="panel-header">
    <div class="panel-header-left"></div>
    <div class="panel-header-content">添加用户</div>
    <div class="panel-header-right"></div>
  </div>
  <div class="panel-body">
    <div class="panel-body-left">
      <div class="panel-body-right">
        <div class="panel-body-content">
          <table width="100%" border="0" cellspacing="0" cellpadding="5">
Example #9
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" /><?php 
$this->Display("header");
?>
<link href="/templates/adminapps/skin/blue/style.css" rel="stylesheet"
	type="text/css" />
</head>
<body>
<div class="block">&nbsp;</div>
<div>
  <form action="<?php 
echo UrlRewriteSimple('Articles', 'Save', true);
?>
"
	method="post" enctype="multipart/form-data" name="form1" id="form1">
    <div class="UserBodyTitle">游记发布/编辑</div>
    <div class="data-line-border-f0f0f0">
      <div class="block"></div>
      <div class="font-12px">
        <table width="100%" border="0" cellspacing="0" cellpadding="5">
          <tr>
            <td width="15%" align="right">标题:</td>
            <td><input name="Title" type="text"
			class="input-style" id="Title" value="<?php 
echo self::__htmlspecialchars($Detail[Title]);
?>
" /></td>
Example #10
0
?>
</td>
	  </tr>
</table>
        </div>
      </div>
    </div>
  </div>
  <div class="panel-footer">
    <div class="panel-footer-left"></div>
    <div class="panel-footer-right"></div>
  </div>
</div>

<form action="<?php 
echo UrlRewriteSimple('CustPro', 'Add', true);
?>
"
	method="post" enctype="multipart/form-data" name="form1" id="form1">
    
<div class="panel">
  <div class="panel-header">
    <div class="panel-header-left"></div>
    <div class="panel-header-content">开通产品</div>
    <div class="panel-header-right"></div>
  </div>
  <div class="panel-body">
    <div class="panel-body-left">
      <div class="panel-body-right">
        <div class="panel-body-content">
   <table width="100%" border="0" cellspacing="0" cellpadding="5">
Example #11
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" /><?php 
$this->Display("header");
?>
<style type="text/css">
<!--
@import url("/Templates/a2010/adminapps/images/style.css");
-->
</style>
</head>
<body>
<form action="<?php 
echo UrlRewriteSimple($MyModule, 'Add', true);
?>
"
	method="post" enctype="multipart/form-data" name="form1" id="form1">
  <div class="panel">
    <div class="panel-header">
      <div class="panel-header-left"></div>
      <div class="panel-header-content">添加代理商</div>
      <div class="panel-header-right"></div>
    </div>
    <div class="panel-body">
      <div class="panel-body-left">
        <div class="panel-body-right">
          <div class="panel-body-content">
            <table width="100%" border="0" cellspacing="0" cellpadding="5">
              <tr>
Example #12
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" /><?php 
$this->Display("header");
?>
<style type="text/css">
<!--
@import url("/Templates/a2010/adminapps/images/style.css");
-->
</style>
<script type="text/javascript" src="Javascripts/calendar.js"></script>
</head>
<body>
<form action="<?php 
echo UrlRewriteSimple('Project', 'Add', true);
?>
"
	method="post" enctype="multipart/form-data" name="form1" id="form1">
    
<div class="panel">
  <div class="panel-header">
    <div class="panel-header-left"></div>
    <div class="panel-header-content">添加产品</div>
    <div class="panel-header-right"></div>
  </div>
  <div class="panel-body">
    <div class="panel-body-left">
      <div class="panel-body-right">
        <div class="panel-body-content">
   <table width="100%" border="0" cellspacing="0" cellpadding="5">
 <?php 
        echo $list[CategoryName];
        ?>
</td>
    <td align="center">&nbsp;<?php 
        echo $list[Alias];
        ?>
</td>
    <td align="center"><a href="<?php 
        echo UrlRewriteSimple('ArticlesCategory', 'Index');
        ?>
&ParentCategoryID=<?php 
        echo $list[CategoryID];
        ?>
" >下级目录</a>&nbsp;&nbsp;&nbsp;<a href="<?php 
        echo UrlRewriteSimple('ArticlesCategory', 'Create');
        ?>
&CategoryID=<?php 
        echo $list[CategoryID];
        ?>
" >编辑</a>&nbsp;&nbsp;&nbsp; <a href="javascript:;" onclick="CategoryDelete('<?php 
        echo $list[CategoryID];
        ?>
')">删除</a> </td>
  </tr>
  
<?php 
    }
}
?>
</table>
        ?>
" class="aid" /></td>
    <td align="center"><?php 
        echo $list[ArticleID];
        ?>
</td>
    <td>&nbsp;<?php 
        echo $list[Title];
        ?>
</td>
    <td align="center" style="font-size:8px;"  nowrap="nowrap"><?php 
        echo $list[Updated];
        ?>
</td>
    <td align="center" ><a href="<?php 
        echo UrlRewriteSimple('Articles', 'Create', true);
        ?>
&ArticleID=<?php 
        echo $list[ArticleID];
        ?>
">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/articles/article-<?php 
        echo $list[ArticleID];
        ?>
.htm" target="_blank">预览</a></td>
  </tr>
  
<?php 
    }
}
?>
  </tbody>
Example #15
0
include 'AgentHead.php';
?>
<body>
<div class="wrap">
  <?php 
include 'AgentTop.php';
?>
  <div class="main">
    <?php 
include 'AgentLeft.php';
?>
    <div class="content-right fr"> 
    <div class="content-box">
    <div class="content-main profile">
<form action="<?php 
echo UrlRewriteSimple($MyModule, $MyAction, true);
?>
" method="post">
            <table width="100%" border="0" cellspacing="0" cellpadding="5">
              <tr height="50">
                <td width="150" align="right">用户名:</td>
                <td><input type="text" disabled="disabled" class="input" id="UserName" value="<?php 
echo $Data['UserName'];
?>
"/><font color="green"> √</font></td>
              </tr>
             <tr height="50">
                <td align="right">密码:</td>
                <td><input name="PassWord" type="text" class="input" id="PassWord" placeholder="不少于6个字符,不修改放空" /><font color="green"> √</font></td>
              </tr>
             <tr height="50">
Example #16
0
}
?>
</table>


</div>

<div class="clear"></div>
</div>


</div>
<div class="block"></div>
<div>
<form action="<?php 
echo UrlRewriteSimple('GlobalCfgs', 'Update', true);
?>
"
	method="post" name="form1" id="form1">

<div class="UserBodyTitle">新建/编辑全局参数</div>
<div class="data-line-border-f0f0f0">
<div class="block"></div>
<div class="font-12px">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
	<tr>
		<td width="15%" align="right" valign="top">参数名:</td>
		<td valign="top"><input name="VariableName" type="text"
			class="input-notsize-style" id="VariableName" size="40"
			maxlength="64" value="<?php 
echo self::__htmlspecialchars($Detail[VariableName]);
Example #17
0
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><?php 
$this->Display("header");
?>
<link href="/templates/adminapps/skin/blue/style.css" rel="stylesheet"
	type="text/css" />
</head>

<body>


<div><?php 
$data = self::__template_functions(array("class" => "ModulesModule", "function" => "Lists", "AppsID" => "0"));
?>
<form id="form1" name="form1" method="post"
	action="<?php 
echo UrlRewriteSimple('Users', 'GroupsRoles', true);
?>
">

<div class="block"></div>


<div class="data-line-border-f0f0f0">
<div class="UserBodyTitle">权限管理</div>
<div class="font-12px">
<table width="100%" border="0" cellpadding="5" cellspacing="0"
	class="DataGird">
	<tr>
		<td width="150" align="center">用户组:</td>
		<td><?php 
echo $UserGroupDetail[GroupName];
Example #18
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" /><?php 
$this->Display("header");
?>
<link href="/templates/adminapps/skin/blue/style.css" rel="stylesheet"
	type="text/css" />
</head>

<body>
<div>
<form id="form1" name="form1" method="post"
	action="<?php 
echo UrlRewriteSimple('Users', 'NewPassword', true);
?>
">
<div class="line-border-f0f0f0">
<div class="UserBodyTitle">修改密码</div>
<div class="block"></div>
<div class="font-12px">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
	<tr>
		<td width="150" align="right">当前密码:</td>
		<td><input name="Password" type="password"
			class="input-notsize-style" id="Password" /></td>
	</tr>
	<tr>
		<td align="right">新密码:</td>
		<td><input name="NewPassword" type="password"
Example #19
0
										onKeyUp="ToPage(<?php 
echo $Data['PageCount'];
?>
)"
										; type="text" style="width: 30px; margin: 0px 4px;" /> 页 <span
										id="ToPage_Test" style="color: #F00"></span> <script
											type="text/javascript">
                                    function ToPage(PageCount){
                                        var pages = document.getElementById("ToPage").value;
                                        if(pages>PageCount || pages<1)
                                        {
                                            document.getElementById("ToPage_Test").innerHTML='请填写正确分页';
                                            return false;
                                        }
                                        location.href = "<?php 
echo UrlRewriteSimple($MyModule, $MyAction, true) . '&Page=';
?>
"+pages;
                                    }
                                </script></td>
								</tr>
							</tfoot>
						</table>
						<script type="text/javascript">
                        //grid("名称","奇数行背景","偶数行背景","鼠标经过背景","点击后背景");
                        grid("grid","#f9fcfd","#ffffff");
                    </script>
					</div>
				</div> 
    </div>
  </div>
Example #20
0
        if ($list[EditEnable]) {
            ?>
<a
			href="<?php 
            echo UrlRewriteSimple('Template', 'Modify', true);
            ?>
&Path=<?php 
            echo $list[path];
            ?>
">编辑</a>&nbsp;<?php 
        }
        if ($list[type] != 'dir') {
            ?>
&nbsp;<a
			href="<?php 
            echo UrlRewriteSimple('Template', 'Delete', true);
            ?>
&Path=<?php 
            echo $list[path];
            ?>
">删除</a><?php 
        } else {
            ?>
&nbsp;<?php 
        }
        ?>
</td>
	</tr>
	
<?php 
    }
Example #21
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" /><?php 
$this->Display("header");
?>
<link href="/templates/adminapps/skin/blue/style.css" rel="stylesheet"
	type="text/css" />
</head>

<body>


<div>
<form action="<?php 
echo UrlRewriteSimple('Template', 'Modify', true);
?>
"
	method="post" name="form1" id="form1">

<div class="UserBodyTitle">编辑模块</div>
<div class="data-line-border-f0f0f0">
<div class="block"></div>
<div class="font-12px">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
	<tr>
		<td width="15%" align="right">模块名称:</td>
		<td><?php 
echo $Path;
?>
 <input name="Path" type="hidden" id="Path"
Example #22
0
        ?>
</td>
		<td align="center">&nbsp;<?php 
        echo $list[Alias];
        ?>
</td>
		<td align="center"><a
			href="<?php 
        echo UrlRewriteSimple('LinksCategory', 'Index');
        ?>
&ParentCategoryID=<?php 
        echo $list[CategoryID];
        ?>
">下级目录</a>|&nbsp;<a
			href="<?php 
        echo UrlRewriteSimple('LinksCategory', 'Create');
        ?>
&CategoryID=<?php 
        echo $list[CategoryID];
        ?>
">编辑</a>&nbsp;|&nbsp;
		<a href="javascript:;" onclick="CategoryDelete('<?php 
        echo $list[CategoryID];
        ?>
')">删除</a>
		</td>
	</tr>
	
<?php 
    }
}
Example #23
0
	<?php 
                }
                ?>
    <?php 
            } else {
                ?>
    <?php 
                if ($i) {
                    ?>
    <div class="line-x">&nbsp;</div>
    <?php 
                }
                ?>
    <div class="menu-item"><a
	href="<?php 
                echo UrlRewriteSimple($list[ModuleClass], $list[ModuleAction], true);
                ?>
"
	target="mainFrame"><?php 
                echo $list[ModuleName];
                ?>
</a></div>
    <?php 
            }
            ?>
 <?php 
        }
        ?>
 
<?php 
    }
Example #24
0
 public function Quit()
 {
     $this->UnsetSession();
     JsMessage('安全退出!', UrlRewriteSimple('Home', 'Index', true));
 }
Example #25
0
            echo $PageVal;
            ?>
$<?php 
            echo $WhereGet;
            ?>
"><?php 
            echo $PageVal;
            ?>
</a>&nbsp;&nbsp; 
<?php 
        }
    }
    ?>
 
<a href="<?php 
    echo UrlRewriteSimple($MyModule, 'Seach', true);
    ?>
&Page=<?php 
    echo $Data['PageCount'];
    ?>
$<?php 
    echo $WhereGet;
    ?>
">尾页</a>&nbsp;&nbsp;
  <?php 
}
?>
</div>
-->
<script type="text/javascript">
$(document).ready(function(){
Example #26
0
        </div>
      </div>
    </div>
  </div>
  <div class="panel-footer">
    <div class="panel-footer-left"></div>
    <div class="panel-footer-right"></div>
  </div>
</div>
 <div style="line-height:50px;" class="font-12px">

 </div>   <?php 
if ($ProjectID != 1) {
    ?>
<form action="<?php 
    echo UrlRewriteSimple('Property', 'Add', true);
    ?>
"
	method="post" enctype="multipart/form-data" name="form1" id="form1">
<div class="panel">
  <div class="panel-header">
    <div class="panel-header-left"></div>
    <div class="panel-header-content">添加属性</div>
    <div class="panel-header-right"></div>
  </div>
  <div class="panel-body">
    <div class="panel-body-left">
      <div class="panel-body-right">
        <div class="panel-body-content">
   <table width="100%" border="0" cellspacing="1" cellpadding="5" class="DataGird">
  <tbody>
Example #27
0
    echo $MultiPageUrl;
    ?>
&Page=<?php 
    echo $UserList[LastPage];
    ?>
">尾页</a><?php 
}
?>
</div>
</div>
</form>
</div>
<div class="clear"></div>
<div>
<form id="form1" name="form1" method="get" action="<?php 
echo UrlRewriteSimple('Users', 'Manager', true);
?>
">
    
<div class="panel">
  <div class="panel-header">
    <div class="panel-header-left"></div>
    <div class="panel-header-content">搜索</div>
    <div class="panel-header-right"></div>
  </div>
  <div class="panel-body">
    <div class="panel-body-left">
      <div class="panel-body-right">
        <div class="panel-body-content">
          <table width="100%" border="0" cellspacing="0" cellpadding="5">
	<tr>
Example #28
0
&Page=<?php 
    echo $Data['PageCount'];
    ?>
">尾页</a>&nbsp;&nbsp;<?php 
}
?>
 </div>   
</div>
 <div style="line-height:50px;" class="font-12px">

 </div>   
       


<form action="<?php 
echo UrlRewriteSimple('FuWu', 'AddAndEdit', true);
?>
" method="post" enctype="multipart/form-data" name="form1" id="form1">
<div class="panel">
  <div class="panel-header">
    <div class="panel-header-left"></div>
    <div class="panel-header-content">添加/修改服务</div>
    <div class="panel-header-right"></div>
  </div>
  <div class="panel-body">
    <div class="panel-body-left">
      <div class="panel-body-right">
        <div class="panel-body-content">
   <table width="100%" border="0" cellspacing="1" cellpadding="5" class="DataGird">
  <tbody>
  <tr>
Example #29
0
 protected function __Config()
 {
     return array('DocumentRoot' => DocumentRoot, 'ViewPath' => '/AdminApps', 'DefaultClass' => 'AdminCP', 'DefaultView' => 'Frame', 'NotAccessMessage' => '很抱歉, 您没有权限进行该操作! 如果您尚未登陆, 请先以您的用户登陆!', 'NotAccessURL' => UrlRewriteSimple('Users', 'Login', true), 'NotAccessURLTitle' => '立即登陆', 'NotLoginIsAlertMessage' => false);
 }
Example #30
0
 public function DeleteGbaopen()
 {
     $LogsFunction = new LogsFunction();
     $CustomersProjectID = _intval($this->_GET['ID']);
     $Page = _intval($this->_GET['Page']);
     $CustProModule = new CustProModule();
     $CustProInfo = $CustProModule->GetOneInfoByKeyID($CustomersProjectID);
     $CustomersID = $CustProInfo['CustomersID'];
     if ($CustomersProjectID == 0) {
         $LogsFunction->logsinfile('116', 3, $CustomersID);
         JsMessage('操作错误,请再一次尝试!');
     }
     $IsOk = $this->ToDeleteGbaoPen($CustomersProjectID);
     if ($IsOk == 1) {
         $LogsFunction->logsinfile('116', 5, $CustomersID);
         $CustProModule = new CustProModule();
         $CustProModule->DeleteInfoByKeyID($CustomersProjectID);
         if ($CustProModule) {
             $LogsFunction->logsinfile('116', 1, $CustomersID);
             JsMessage('删除成功!', UrlRewriteSimple($this->MyModule, 'Customer', true) . '&Page=' . $Page, '继续操作');
         } else {
             $LogsFunction->logsinfile('110', 0, $CustomersID);
             JsMessage('删除失败,请联系管理员删除!', UrlRewriteSimple($this->MyModule, 'Customer', true) . '&Page=' . $Page, '继续操作');
         }
     } else {
         $LogsFunction->logsinfile('116', 6, $CustomersID);
         JsMessage('删除失败,请再尝试删除!', UrlRewriteSimple($this->MyModule, 'Customer', true) . '&Page=' . $Page, '继续操作');
     }
 }