die('Access Denied.');
}
//输出头部信息
dohead($title, $page_url);
require 'admin_menu.php';
?>

<form action="" method="post" name="seekform">
  <div id="content">

	<div class="contenttitle"><?php 
echo $title;
?>
	  <div class="page">
		<?php 
view_page($page_url);
?>
	  </div>
	</div>
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td class="searchtool">
		  <?php 
echo $strBlueFind;
?>
		  &nbsp;
		  <input type="text" name="seekname" size="8" value="<?php 
echo $seekname;
?>
" class="pagenav">
		  &nbsp;
예제 #2
0
show_alert($_SESSION['alert']['type'], $_SESSION['alert']['msg']);
?>
              
         <div class="container main">
           <div class="box row">
             <div class="content">
               <div class="actions clearfix">
                 <div class="pull-left">
                   <div class="pull-left custom-select-all" onclick="selectAllToggle()">
                     <input type="checkbox" id="select_all">
                   </div>
                   <div class="divider"></div>
                   <p>Page</p>
                   <select class="form-control" id="page-option" onchange="pageOption()">
				     <?php 
view_page($total_page, $page);
?>
                   </select>
                   <p>of <strong><?php 
echo $total_page;
?>
</strong> pages</p>
                   <div class="divider"></div>
                   <p>Show</p>
                   <select class="form-control" name="query_per_page" id="query_per_page_input" onchange="changeQueryPerPage()">
				     <?php 
view_per_page($query_per_page, $total_query);
?>
                   </select>
                   <p>of <strong><?php 
echo $total_query;
예제 #3
0
?>
 
            
            <div class="container main">
              <div class="box row">
                <div class="content">
                  <div class="actions clearfix">
                    <div class="pull-left">
                      <div class="pull-left custom-select-all" onclick="selectAllToggle()">
                        <input type="checkbox" id="select_all">
                      </div>
                      <div class="divider"></div>
                      <p>Page</p>
                      <select class="form-control" id="page-option" onchange="pageOption()">
                        <?php 
view_page($total_page, $_REQUEST['pg']);
?>
                      </select>
                      <p>of <strong><?php 
echo $total_page;
?>
</strong> pages</p>
                      <div class="divider"></div>
                      <p>Show</p>
                      <select class="form-control" name="query_per_page" id="query_per_page_input" onchange="changeQueryPerPage()">
					    <?php 
view_per_page($query_per_page, $total_query);
?>
                      </select>
                      <p>of <strong><?php 
echo $total_query;
예제 #4
0
}
?>
 
<tr>
	    <td height="32"  align="center" bgcolor="#EEEEEE"><img style="width:20px" src="../images/arrow.png" border="0" /></td>
	    <td width="434" >
		<input type="submit"   onClick="return confirm('Bạn có chắc không ?');" value="Xóa tin này" name="ItemDel" style="border:0px; background-color:#DDDDDD; cursor:pointer" <?php 
echo @$_SESSION['modmana'] == '2' ? 'disabled' : '';
?>
>
		<input name="ItemVip" type="submit" id="ItemVip" style="border:0px; background-color:#DDDDDD; cursor:pointer"   onclick="return confirm('Bạn có chắc không ?');" value="Kích hoạt tin vip" <?php 
echo @$_SESSION['modmana'] == '2' ? 'disabled' : '';
?>
 />
        <input name="ItemNomal" type="submit" id="ItemNomal" style="border:0px; background-color:#DDDDDD; cursor:pointer"   onclick="return confirm('Bạn có chắc không ?');" value="Bỏ kích hoạt tin vip" <?php 
echo @$_SESSION['modmana'] == '2' ? 'disabled' : '';
?>
 /></td>
        <td colspan="2"  align="right">&nbsp;</td>
      </tr>
<tr>
  <td height="32" colspan="4"  align="center" ><?php 
view_page($link);
?>
</td>
  </tr>		  
</table>
</form>
</div>

예제 #5
0
			<?php
            show_alert($_SESSION['alert']['type'], $_SESSION['alert']['msg']);
			?> 

            <div class="container main">
              <div class="box row">
                <div class="content">
                 <div class="actions clearfix">
                   <div class="pull-left">
                     <div class="pull-left custom-select-all">
                       <input type="checkbox" id="select_all">
                     </div>
                     <div class="divider"></div>
                     <p>Page</p>
                     <select class="form-control" id="page-option" disabled="disabled">
					    <?php view_page($total_page, $page);?>
                     </select>
                     <p>of <strong><?php echo $total_page;?></strong> pages</p>
                     <div class="divider"></div>
                     <p>Show</p>
                     <select class="form-control" name="query_per_page" id="query_per_page_input" disabled="disabled">
					    <?php view_per_page($query_per_page, $total_query);?>
                     </select>
                     <p>of <strong><?php echo $total_query;?></strong> records</p>
                   </div>
                   <div class="pull-right">
                     <p>Actions</p>
                     <select class="form-control" name="category-action" id="news-action" disabled="disabled"> 
                       <option value="delete">Delete</option>
                       <option value='visibility'>Set Visibility</option>
                       <option value="order">Set Order</option>
예제 #6
0
if ($_SESSION["uid"] == null) {
    echo "window.location.href ='logoff.php';";
    die;
}
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.system.network.inc';
include_once 'ressources/class.freeweb.inc';
include_once 'ressources/class.awstats.inc';
if (isset($_GET["start"])) {
    startpage();
    exit;
}
if (isset($_GET["awstats_file"])) {
    view_page();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{statistics}:: {$_GET["servername"]}");
    $html = "YahooWin2('850','{$page}?start=yes&awstats_file=index&servername={$_GET["servername"]}','{$title}');";
    echo $html;
}
function startpage()
{
    $tpl = new templates();
    $page = CurrentPageName();