当前位置: 首页>>代码示例>>PHP>>正文


PHP skin函数代码示例

本文整理汇总了PHP中skin函数的典型用法代码示例。如果您正苦于以下问题:PHP skin函数的具体用法?PHP skin怎么用?PHP skin使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了skin函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 function __construct()
 {
     parent::__construct();
     $this->load->view_path(FCPATH . 'skins/' . skin() . '/views/');
     if (!$this->input->is_cli_request()) {
         $this->output->enable_profiler($this->config->item('debug'));
         if ($this->session->userdata('logged_in')) {
             $this->db->where('id', $this->session->userdata('id'));
             if (!$this->session->userdata('hibernating')) {
                 $this->db->set('last_active', now());
             }
             $this->db->set('last_ip', ip2int($this->input->ip_address()));
             $this->db->update('users');
         }
     }
 }
开发者ID:Razican,项目名称:Space-Settler,代码行数:16,代码来源:SPS_Controller.php

示例2: jq

    <!--[if !IE]><!-->
    <script src="<?php 
echo jq('jquery-2.1.1.min.js');
?>
"></script>
    <!--<![endif]-->
    <link href="<?php 
echo skin('Css/css.css');
?>
" rel="stylesheet" type="text/css"/>
    <script src="<?php 
echo skin('Js/home.js');
?>
"></script>
    <script src="<?php 
echo skin('Js/tab.js');
?>
"></script>

</head>

<body id="bodyie6">

<?php 
include Lib\Template::Tpl("top.html");
?>
<div class="h-partent">
    <?php 
include Lib\Template::Tpl("menu.html");
?>
    <div class="h-iframe">
开发者ID:sparrww,项目名称:frame,代码行数:31,代码来源:index.php

示例3: jq

" rel="stylesheet" type="text/css" />

<!--[if IE]><script src="<?php 
echo jq('jquery-1.11.1.min.js');
?>
"></script><![endif]-->
<!--[if !IE]><!--><script src="<?php 
echo jq('jquery-2.1.1.min.js');
?>
"></script><!--<![endif]-->
<script src="<?php 
echo jq('ValidForm/validform.js');
?>
"></script>
<script src="<?php 
echo skin('js/common.js');
?>
"></script>

<script type="text/javascript">

  window.onload=function(){
        data=$(".form").Validform({
            tiptype:2,
            callback:function(data){
                if(data.status=="y"){
                    location.href =	"<?php 
echo app_url('/power/execution/re/1/message');
?>
"+data.message;
                }else{
开发者ID:sparrww,项目名称:frame,代码行数:31,代码来源:add.php

示例4: skin

?>
" rel="stylesheet" type="text/css"/>
    <script src="<?php 
echo skin('Js/tab.js');
?>
"></script>
    <script src="<?php 
echo jq('ValidForm/validform.js');
?>
"></script>
    <script src="<?php 
echo skin('Js/dbmanage.js');
?>
"></script>
    <script src="<?php 
echo skin('Js/common.js');
?>
"></script>
    <style>
        .botton{width:60px;height:25px;border:1px solid #ccc;margin:2px 5px}
    </style>

</head>

<body>
<div id="main">
    <form name="checkboxform" method="post" action="" class="form">
        <div id="main_top">
            <dl id="article_ico">
                <dd class="art_ico_8"><a href="<?php 
echo app_url();
开发者ID:sparrww,项目名称:frame,代码行数:31,代码来源:index.php

示例5: drawAdminTools_emailPanel

function drawAdminTools_emailPanel($mailbox)
{
    global $conf_skin;
    global $addrlink;
    global $adm_email_login;
    global $adm_email_pass;
    $user_menu[] = array("text" => _("My e-mail"), "icon" => "box_wnb_nb_picto-mailboxes.gif", "type" => "link", "link" => "My Email");
    $user_menu[] = array("text" => _("Fetchmail"), "icon" => "box_wnb_nb_picto-mailinglists.gif", "type" => "link", "link" => "fetchmail");
    $logout = "<a href=\"" . $_SERVER["PHP_SELF"] . "?action=logout\">" . _("Logout") . "</a>";
    $mymenu = makeTreeMenu($user_menu, $addrlink, "" . $_SERVER["PHP_SELF"] . "?adm_email_login={$adm_email_login}&adm_email_pass={$adm_email_pass}", "addrlink");
    switch ($addrlink) {
        case "My Email":
            $title = _("Mailbox configuration: ");
            $panel = drawAdminTools_emailAccount($mailbox);
            break;
        case "antispam":
            $title = _("Protect your mailbox with efficient tools:");
            $panel = drawAntispamRules($mailbox);
            break;
        case "fetchmail":
            $title = _("Your list of imported mail");
            $panel = drawImportedMail($mailbox);
            break;
        case "quarantine":
            $title = _("Those mail are in quarantine, and were not delivered to your pop account:");
            $panel = drawQuarantine($mailbox);
            break;
        default:
            $title = _("Welcom to the email panel!");
            $panel = _("Login successfull. Please select a menu entry on the left...");
            break;
    }
    if (function_exists("layoutEmailPanel")) {
        $content = layoutEmailPanel($adm_email_login, "<br>" . $mymenu . "<center>{$logout}</center>", $title, $panel);
    } else {
        $mymenu_skin = skin($conf_skin, "<br>" . $mymenu . "<center>{$logout}</center>", $adm_email_login);
        $left = "<table width=\"1\" height=\"100%\"><tr>\n\t\t<td width=\"1\" height=\"1\">{$mymenu_skin}</td>\n</tr><tr>\n\t\t<td height=\"100%\">&nbsp;</td>\n</tr></table>";
        $right = skin($conf_skin, $panel, $title);
        $right = "<table width=\"100%\" height=\"100%\"><tr>\n\t\t<td width=\"100%\" height=\"100%\">{$right}</td>\n</tr><tr>\n\t<td height=\"1\">&nbsp;</td>\n</tr></table>";
        $content = "<table width=\"100%\" height=\"100%\"><tr>\n\t\t<td width=\"1\"  height=\"100%\">{$left}</td>\n\t\t<td width=\"100%\" height=\"100%\">{$right}</td>\n</tr></table>";
    }
    return $content;
    //	return drawAdminTools_emailAccount($mailbox);
}
开发者ID:jeremy-cayrasso,项目名称:dtc,代码行数:44,代码来源:email.php

示例6: defined

<?php

defined('TPL_INCLUDE') or exit('Access Denied');
?>
<!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"/>
    <title>栏目管理</title>

    <link href="<?php 
echo skin('Css/css.css');
?>
" rel="stylesheet" type="text/css"/>
    <!--[if IE]>
    <script src="<?php 
echo jq('jquery-1.11.1.min.js');
?>
"></script><![endif]-->
    <!--[if !IE]><!-->
    <script src="<?php 
echo jq('jquery-2.1.1.min.js');
?>
"></script>
    <!--<![endif]-->
    <script src="<?php 
echo jq('ValidForm/validform.js');
?>
"></script>
    <script type="text/javascript">
开发者ID:sparrww,项目名称:frame,代码行数:31,代码来源:index.php

示例7: per_category_main

    exit;
}
if (isset($_GET["per-categories"])) {
    per_category_main();
    exit;
}
if (isset($_GET["per-categories-settings"])) {
    per_category_settings();
    exit;
}
if (isset($_POST["external_uri"])) {
    per_category_settings_save();
    exit;
}
if (isset($_GET["skin"])) {
    skin();
    exit;
}
if (isset($_POST["CATEGORY"])) {
    SAVE_SKIN();
    exit;
}
if (isset($_GET["unlock"])) {
    UNLOCK_SECTION();
    exit;
}
if (isset($_GET["skin-tabs"])) {
    skin_tabs();
    exit;
}
if (isset($_GET["skin-logo"])) {
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:31,代码来源:squidguardweb.php

示例8: dtcFormLineDraw

    $text .= dtcFormLineDraw(_("Address (line3): "), "<input class=\"dtcDatagrid_input_alt_color\" size=\"40\" type=\"text\" name=\"addr3\" value=\"" . stripcslashes($b["addr3"]) . "\">", 0);
    $text .= dtcFormLineDraw(_("City: "), "<input class=\"dtcDatagrid_input_color\" size=\"40\" type=\"text\" name=\"city\" value=\"" . stripcslashes($b["city"]) . "\">");
    $text .= dtcFormLineDraw(_("Zipcode: "), "<input class=\"dtcDatagrid_input_alt_color\" size=\"40\" type=\"text\" name=\"zipcode\" value=\"" . stripcslashes($b["zipcode"]) . "\">", 0);
    $text .= dtcFormLineDraw(_("State: "), "<input class=\"dtcDatagrid_input_color\" size=\"40\" type=\"text\" name=\"state\" value=\"" . stripcslashes($b["state"]) . "\">");
    $text .= dtcFormLineDraw(_("Country: "), "<select class=\"dtcDatagrid_input_alt_color\" name=\"country\">" . cc_code_popup($b["country"]) . "</select>", 0);
    $text .= dtcFormLineDraw(_("Phone number: "), "<input class=\"dtcDatagrid_input_color\" size=\"40\" type=\"text\" name=\"phone\" value=\"" . stripcslashes($b["phone"]) . "\">");
    $text .= dtcFormLineDraw(_("Fax: "), "<input class=\"dtcDatagrid_input_alt_color\" size=\"40\" type=\"text\" name=\"fax\" value=\"" . stripcslashes($b["fax"]) . "\">", 0);
    $text .= dtcFormLineDraw(_("Email: "), "<input class=\"dtcDatagrid_input_color\" size=\"40\" type=\"text\" name=\"email\" value=\"" . $b["email"] . "\">");
    $text .= dtcFormLineDraw(_("Notes: "), "<textarea class=\"dtcDatagrid_input_alt_color\" cols=\"40\" rows=\"5\" name=\"custom_notes\">" . stripcslashes($b["custom_notes"]) . "</textarea>", 0);
    $text .= "<input type=\"hidden\" name=\"paiement_id\" value=\"" . $b["paiement_id"] . "\">";
    if ($has_payement == 1) {
        $text .= "<input type=\"hidden\" name=\"secpay_site\" value=\"" . $p["secpay_site"] . "\">";
        $text .= dtcFormLineDraw(_("Payment type: "), "<input class=\"dtcDatagrid_input_color\" size=\"40\" type=\"text\" name=\"paiement_type\" value=\"" . $p["paiement_type"] . "\">");
        $text .= dtcFormLineDraw(_("Payment validated: "), "<input class=\"dtcDatagrid_input_alt_color\" size=\"40\" type=\"text\" name=\"valid\" value=\"" . $p["valid"] . "\">", 0);
        $text .= dtcFormLineDraw(_("Payment site: "), "<input class=\"dtcDatagrid_input_color\" size=\"40\" type=\"text\" name=\"secpay_site\" value=\"" . $p["secpay_site"] . "\">");
        $text .= dtcFormLineDraw(_("Refund amount: "), "<input class=\"dtcDatagrid_input_alt_color\" size=\"40\" type=\"text\" name=\"refund_amount\" value=\"" . $p["refund_amount"] . "\">", 0);
        $text .= dtcFormLineDraw(_("Paiement cost: "), "<input class=\"dtcDatagrid_input_color\" size=\"40\" type=\"text\" name=\"paiement_cost\" value=\"" . $p["paiement_cost"] . "\">");
        $text .= dtcFormLineDraw(_("Paiement total: "), "<input class=\"dtcDatagrid_input_alt_color\" size=\"40\" type=\"text\" name=\"paiement_total\" value=\"" . $p["paiement_total"] . "\">", 0);
        $text .= dtcFormLineDraw(_("Vat rate: "), "<input class=\"dtcDatagrid_input_color\" size=\"40\" type=\"text\" name=\"vat_rate\" value=\"" . $p["vat_rate"] . "\">");
        $text .= dtcFormLineDraw(_("Vat total: "), "<input class=\"dtcDatagrid_input_alt_color\" size=\"40\" type=\"text\" name=\"vat_total\" value=\"" . $p["vat_total"] . "\">", 0);
    } else {
        $text .= dtcFormLineDraw(_("Payment site: "), _("Paiement not found!"));
    }
    $text .= dtcFormLineDraw(_("Shopper IP: "), $b["shopper_ip"]);
    $text .= "<input type=\"hidden\" name=\"shopper_ip\" value=\"" . $b["shopper_ip"] . "\">";
    $text .= "\n<tr><td align=\"right\"></td><td><div class=\"input_btn_container\" onMouseOver=\"this.className='input_btn_container-hover';\" onMouseOut=\"this.className='input_btn_container';\">\n <div class=\"input_btn_left\"></div>\n <div class=\"input_btn_mid\"><input class=\"input_btn\" type=\"submit\" value=\"" . _("Save") . "\"></div>\n <div class=\"input_btn_right\"></div>\n</div></form>";
}
$the_page[] = skin($conf_skin, $text, "User details:");
$pageContent = makeVerticalFrame($the_page);
$anotherFooter = anotherFooter("Footer content<br><br>");
echo anotherPage("admin:", "", "", makePreloads(), $anotherTopBanner, $anotherMenu, $pageContent, $anotherFooter);
开发者ID:jeremy-cayrasso,项目名称:dtc,代码行数:31,代码来源:view_waitingusers.php

示例9: editer

?>
"></script>
    <script src="<?php 
echo editer('kindeditor.js');
?>
"></script>
    <script src="<?php 
echo editer('lang/zh_CN.js');
?>
"></script>
    <script src="<?php 
echo skin('Js/common.js');
?>
"></script>
    <script src="<?php 
echo skin('Js/artDialog.js');
?>
"></script>
    <script type="text/javascript">
        $(function () {
            data = $(".form").Validform({
                tiptype: 2,
                callback: function (data) {

                    if (data.status == "y") {
                        location.href = "<?php 
echo app_url('/article/execution/re/1/message');
?>
" + data.message;
                    } else {
                        location.href = "<?php 
开发者ID:sparrww,项目名称:frame,代码行数:31,代码来源:index.php

示例10: js

	
	if(isset($_GET["smtp-parameters-js"])){SMTP_PARAMETERS_JS();exit;}
	if(isset($_GET["smtp-parameters-popup"])){SMTP_PARAMETERS_POPUP();exit;}
	if(isset($_POST["smtp_notifications"])){SMTP_PARAMETERS_SAVE();exit;}
	if(isset($_GET["test-smtp-js"])){tests_smtp_js();exit;}
	if(isset($_GET["smtp_sendto"])){tests_smtp();exit;}
	
	
	if(isset($_POST["UfdbGuardHTTPAllowUnblock"])){UNLOCK_SAVE();exit;}
	if(isset($_GET["EnableSquidGuardHTTPService"])){save();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["per-categories"])){per_category_main();exit;}
	if(isset($_GET["per-categories-settings"])){per_category_settings();exit;}
	if(isset($_POST["external_uri"])){per_category_settings_save();exit;}
	if(isset($_GET["skin"])){skin();exit;}
	if(isset($_POST["CATEGORY"])){SAVE_SKIN();exit;}
	if(isset($_GET["unlock"])){UNLOCK_SECTION();exit;}
	if(isset($_GET["skin-tabs"])){skin_tabs();exit;}
	if(isset($_GET["skin-logo"])){skin_logo();exit;}
js();	
	
function js(){
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->_ENGINE_parse_body("{banned_page_webservice}");
	header("content-type: application/x-javascript");
	$html="
		YahooWin5('1071','$page?tabs=yes','$title');
	";
	echo $html;
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:30,代码来源:squidguardweb.php

示例11: skin_ClientPage

function skin_ClientPage()
{
    global $adm_pass;
    global $adm_login;
    global $conf_skin;
    global $page_metacontent;
    global $meta;
    global $confirm_javascript;
    global $java_script;
    global $skinCssString;
    global $console;
    ////////////////////////////////////
    // Create the top banner and menu //
    ////////////////////////////////////
    $anotherTopBanner = anotherTopBanner("DTC");
    $anotherLanguageSelection = anotherLanguageSelection();
    $lang_sel = skin($conf_skin, $anotherLanguageSelection, _("Language"));
    if ($adm_login != "" && isset($adm_login) && $adm_pass != "" && isset($adm_pass)) {
        // Fetch all the user informations, Print a nice error message if failure.
        $admin = fetchAdmin($adm_login, $adm_pass);
        if (($error = $admin["err"]) != 0) {
            $mesg = $admin["mesg"];
            $login_txt = _("Error") . " {$error} " . _("fetching admin: ") . "<font color=\"red\">{$mesg}</font><br />";
            $login_txt .= login_form();
            $login_skined = skin($conf_skin, $login_txt, _("Client panel:") . " " . _("Login"));
            $mypage = layout_login_and_languages($login_skined, $lang_sel);
        } else {
            // Draw the html forms
            $HTML_admin_edit_data = '<div class="box_wnb_content_container">' . drawAdminTools($admin) . '</div>';
            $mypage = $HTML_admin_edit_data;
        }
    } else {
        $login_txt = login_form();
        $mypage = skin($conf_skin, $login_txt, _("Client panel:") . " " . _("Login"));
    }
    echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" dir=\"ltr\" lang=\"en\" xml:lang=\"en\">\n<head>\n<title>DTC: Client: " . $_SERVER['SERVER_NAME'] . "</title>\n{$page_metacontent}\n{$meta}\n<link rel=\"stylesheet\" href=\"gfx/skin/paperboard/skin.css\" type=\"text/css\" media=\"all\" />\n</head>\n<body id=\"page\">\n\t<div id=\"outerwrapper\">\n\t\t<div id=\"wrapper\">\n\t\t\t" . makePreloads() . "\n\t\t\t{$confirm_javascript}\n\t\t\t{$java_script}\n\t\t\t{$skinCssString}\n\t\t\t" . anotherTopBanner("DTC", "yes") . "<div id=\"usernavbarreplacement\"></div>\n\t\t\t<table class=\"tht\" cellpadding=\"0\" cellspacing=\"0\">\n\t\t\t\t<tr>\n\t\t\t\t\t<td class=\"thl-1\" nowrap=\"nowrap\">&nbsp;</td>\n\t\t\t\t\t<td class=\"thm-1 hleft\" nowrap=\"nowrap\">&nbsp;</td>\n\t\t\t\t\t<td class=\"thr-1\" nowrap=\"nowrap\">&nbsp;</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td class=\"bord-left\" nowrap=\"nowrap\"></td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t" . $mypage . "\n\t\t\t\t\t</td>\n\t\t\t\t\t<td class=\"bord-right\" nowrap=\"nowrap\"></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td class=\"tbl-1\" nowrap=\"nowrap\"></td>\n\t\t\t\t\t<td class=\"tbm-1 hleft\" nowrap=\"nowrap\">&nbsp;</td>\n\t\t\t\t\t<td class=\"tbr-1\" nowrap=\"nowrap\"></td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t\t<div id=\"footer\">" . anotherFooter("Footer content<br /><br />") . "PaperBoard template for DTC made by <a href=\"http://www.labestiole.net\" title=\"la bestiole\" target=\"_blank\">cali</a></div>\n\t\t</div>\n\t</div>\n</body>\n</html>";
}
开发者ID:jeremy-cayrasso,项目名称:dtc,代码行数:37,代码来源:layout.php

示例12: skin

?>
" rel="stylesheet" type="text/css" />

</head>

<body>
<div id="main">
	<div id="main_top">
		<b>网站信息</b>
	</div>
	<div id="art_body">
    	<table cellspacing="0" class="add_art">
        	<tr><th colspan="2"><h3>系统操作提示信息</h3></th></tr>
            <tr>
            	<td width="240"><img src="<?php 
echo skin('Image/duihao.png');
?>
" style="display:block; margin:20px auto" /></td>
            	<td style="font-size:40px; color:#131b26;"><?php 
if ($_GET['re'] == '1') {
    ?>
					<?php 
    echo urldecode($_GET['message']);
} else {
    echo urldecode($_GET['message']);
    ?>
					<?php 
}
?>
                </td>
            </tr>
开发者ID:sparrww,项目名称:frame,代码行数:31,代码来源:execution.php

示例13: mysql_query

            $q = "SELECT * FROM {$pro_mysql_admin_table},{$pro_mysql_client_table} WHERE {$pro_mysql_client_table}.email='" . $_REQUEST["adm_lost_email"] . "';";
            $r = mysql_query($q) or die("Cannot query {$q} line " . __LINE__ . " file " . __FILE__ . " sql said: " . mysql_error());
            $n = mysql_num_rows($r);
            $recover_txt .= "<br><br>" . _("The following logins have been found to be related to this email address. Click on any of them to send your password to the email address:") . "<br><br>";
            for ($i = 0; $i < $n; $i++) {
                $a = mysql_fetch_array($r);
                $login = $a["adm_login"];
                if ($i != 0) {
                    $recover_txt .= " - ";
                }
                $recover_txt .= "<a href=\"" . $_SERVER["PHP_SELF"] . "?action=recover_lost_pass&adm_lost_login={$login}\">{$login}</a>";
            }
        }
    }
} else {
    $recover_l_txt = dtcFormTableAttrs();
    $recover_l_txt .= "<form action=\"" . $_SERVER["PHP_SELF"] . "\">\n<input type=\"hidden\" name=\"action\" value=\"recover_lost_pass\">";
    $recover_l_txt .= dtcFormLineDraw(_("Login:"), "<input type=\"text\" name=\"adm_lost_login\">", 0);
    $recover_l_txt .= dtcFromOkDraw() . "</table></form>";
    $recover_r_txt = dtcFormTableAttrs();
    $recover_r_txt .= "<form action=\"" . $_SERVER["PHP_SELF"] . "\">\n<input type=\"hidden\" name=\"action\" value=\"recover_lost_pass\">";
    $recover_r_txt .= dtcFormLineDraw(_("Email:"), "<input type=\"text\" name=\"adm_lost_email\">", 0);
    $recover_r_txt .= dtcFromOkDraw() . "</table></form>";
    $recover_txt .= '<table cellpadding="8" border="0"><tr><td>' . $recover_l_txt . "</td><td>" . $recover_r_txt . "</td></table>";
}
$mypage = skin($conf_skin, $recover_txt, _("Client panel:") . " " . _("Recover password"));
if (function_exists("skin_NewAccountPage")) {
    skin_NewAccountPage($mypage);
} else {
    echo anotherPage("Client:", "", "", makePreloads(), $anotherTopBanner, "", $mypage, anotherFooter(""));
}
开发者ID:jeremy-cayrasso,项目名称:dtc,代码行数:31,代码来源:recover_pass.php

示例14: jq

?>
"></script><![endif]-->
    <!--[if !IE]><!--><script src="<?php 
echo jq('jquery-2.1.1.min.js');
?>
"></script><!--<![endif]-->
    <link href="<?php 
echo skin('Css/css.css');
?>
" rel="stylesheet" type="text/css" />
    <script src="<?php 
echo skin('Js/tab.js');
?>
"></script>
    <script src="<?php 
echo skin('Js/checkAll.js');
?>
"></script>

</head>

<body>
<div id="main" style="margin-top:-10px; overflow:hidden;">
    <form name="checkboxform" method="post" action="" class="form">
        <div id="art_body" style="padding-top:0;">
            <div id="art_class">
                <ul>
                    <li class="art_ico_lm"><strong><a href="javascript:void(0)">日志列表</a></strong></li>
                </ul>
            </div>
            <div id="art_list">
开发者ID:sparrww,项目名称:frame,代码行数:31,代码来源:index.php

示例15: skin_LayoutAdminPage

function skin_LayoutAdminPage()
{
    global $rub;
    global $adm_login;
    global $adm_pass;
    global $conf_session_expir_minute;
    global $pro_mysql_config_table;
    global $pro_mysql_tik_admins_table;
    global $conf_skin;
    global $top_commands;
    global $adm_random_pass;
    global $page_metacontent;
    global $meta;
    global $confirm_javascript;
    global $java_script;
    global $skinCssString;
    global $console;
    ///////////////////////
    // Make All the page //
    ///////////////////////
    switch ($rub) {
        case "crm":
            // CRM TOOL
            $admin_list = DTCRMlistClients();
            $client_editor = DTCRMeditClients();
            if (isset($_REQUEST["id"]) && $_REQUEST["id"] != "" && $_REQUEST["id"] != 0) {
                $client_editor .= DTCRMclientAdmins();
            }
            $zemain_content = '
<table class="box_wnb" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="box_wnb_nb" valign="top">
    	<div class="box_wnb_nb_title"><div class="box_wnb_nb_title_left"><div class="box_wnb_nb_title_right"><div class="box_wnb_nb_title_mid">' . _("Customers list") . '</div></div></div></div>
    	' . $admin_list . '
    </td>
    <td class="box_wnb_content" valign="top">
      <div class="box_wnb_content_container">
      <h2>' . _("Customer's address") . '</h2>
      ' . $client_editor . '
      </div>
    </td>
  </tr>
  <tr>
    <td class="box_wnb_nb_bottom"></td>
    <td class="box_wnb_content_bottom" valign="top"></td>
  </tr>
</table>';
            break;
        case "renewal":
            $out = drawRenewalTables();
            $zemain_content = skin($conf_skin, $out, _("Customer renewals"));
            break;
        case "monitor":
            // Monitor button
            $out = drawAdminMonitor();
            $zemain_content = skin($conf_skin, $out, _("Customer's bandwidth consumption"));
            break;
        case "graph":
            $zemain_content = skin($conf_skin, drawRrdtoolGraphs(), _("Server statistic graphs"));
            break;
        case "generate":
            // Gen Config Files
            $mainFrameCells[] = skin($conf_skin, $top_commands, _("Launching the configuration files generation"));
            $the_iframe = "<br><br>" . _("Please note that you need to create at least one email and one FTP account in order to have the daemon status working!") . "<br><IFRAME src=\"deamons_state.php\" width=\"100%\" height=\"135\"></iframe>";
            $mainFrameCells[] = skin($conf_skin, $the_iframe, _("Deamons states"));
            // fixed bug by seeb
            // The console
            $mainFrameCells[] = skinConsole();
            $zemain_content = makeVerticalFrame($mainFrameCells);
            break;
        case "config":
            // Global Config
            $zemain_content = '
<table class="box_wnb" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class="box_wnb_nb" valign="top">
    	<div class="box_wnb_nb_title"><div class="box_wnb_nb_title_left"><div class="box_wnb_nb_title_right"><div class="box_wnb_nb_title_mid">' . _("Menu") . '</div></div></div></div>
    	' . drawDTCConfigMenu() . '
    </td>
    <td class="box_wnb_content" valign="top">
    	 <div class="box_wnb_content_container">
	  <h2>' . _("DTC Configuration") . '</h2>
' . drawDTCConfigForm() . '
	</div>
    </td>
  </tr>
  <tr>
    <td class="box_wnb_nb_bottom"></td>
    <td class="box_wnb_content_bottom" valign="top"></td>
  </tr>
</table>';
            break;
        case "product":
            $bla = productManager();
            $zemain_content = skin($conf_skin, $bla, _("Hosting product manager"));
            break;
        case "user":
            // User Config
        // User Config
        case "domain_config":
//.........这里部分代码省略.........
开发者ID:jeremy-cayrasso,项目名称:dtc,代码行数:101,代码来源:layout.php


注:本文中的skin函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。