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


PHP showheader函数代码示例

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


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

示例1: smile_edit

function smile_edit($smile_data, $s_hidden_fields, $filename_list, $smiley_image)
{
    global $smilies_path, $modheader;
    $modheader .= '<script type="text/javascript">
function update_smiley(newimage)
{
	document.getElementById("smiley_image").src = "' . $smilies_path . '" + newimage;
}
</script>';
    showheader();
    echo '
<form method="post" action="' . URL::admin('smilies') . '" enctype="multipart/form-data" accept-charset="utf-8">
<table class="forumline" cellspacing="1" cellpadding="4" border="0">
	<tr>
		<th class="thHead" colspan="2">Smiley Configuration</th>
	</tr>
	<tr>
		<td class="row2">Smiley Code</td>
		<td class="row2"><input type="text" name="smile_code" value="' . (isset($smile_data['code']) ? $smile_data['code'] : '') . '" /></td>
	</tr>
	<tr>
		<td class="row1">Smiley Image File</td>
		<td class="row1"><select name="smile_url" onchange="update_smiley(this.options[selectedIndex].value);">' . $filename_list . '</select> &nbsp; <img id="smiley_image" name="smiley_image" src="' . $smilies_path . $smiley_image . '" border="0" alt="" /> &nbsp;</td>
	</tr>
	<tr>
		<td class="row2">Smiley Emotion</td>
		<td class="row2"><input type="text" name="smile_emotion" value="' . (isset($smile_data['emoticon']) ? $smile_data['emoticon'] : '') . '" /></td>
	</tr>
	<tr>
		<td class="catBottom" colspan="2" align="center">' . $s_hidden_fields . '<input class="mainoption" type="submit" value="' . _SAVECHANGES . '" /></td>
	</tr>
</table></form>';
}
开发者ID:cbsistem,项目名称:nexos,代码行数:33,代码来源:smilies.php

示例2: showheader

<?
include_once $GLOBALS["DOCUMENT_ROOT"]."/lib/sql.php";
//authorize();
showheader( "Подраздел");
?>

<?
showfooter();
?>
开发者ID:GGF,项目名称:oldbaza,代码行数:9,代码来源:template.php

示例3: session_start

<?php

session_start();
if (!isset($_SESSION['id'])) {
    header('Location: login.php');
    exit;
}
include 'showh.php';
showheader("File Manger");
?>

<div class="wrapper style1">
	<div id="addform">
		<div class="box"></div>
		<div class="folders">

			  <form method="POST" enctype="multipart/form-data">
-            <p class="p1">Add files: </p><br />
-            <input type="text" name="foldername" placeholder="The name of the folder" style="padding: 1px 4px; font-size: 0.8em; color: #4B3655;">
-            <input name="userfile[]"  type="file"  style="padding: 1px 4px; font-size: 0.8em; color:  #4B3655;" class="files" multiple>
-            <input class="button"type="submit"  style="padding: 1px 4px; font-size: 0.8em; color:  #4B3655;" type="submit" name="action" value="Submit the files"></input>
-        </form>
		</div>
	</div>
<?php 
// Include the library
require_once 'AESCryptFileLib.php';
// Include an AES256 Implementation
require_once 'aes256/MCryptAES256Implementation.php';
// Construct the implementation
$mcrypt = new MCryptAES256Implementation();
开发者ID:xobyx,项目名称:save,代码行数:31,代码来源:Files.php

示例4: showheader

<!DOCTYPE html>
<html>
    <?php 
showheader('Galería');
?>
    <body class="skin-blue sidebar-mini">
        <div class="wrapper">

            <?php 
showmenu('galeria');
?>
            
            <div class="content-wrapper">
                <section class="content-header">
                    <h1>ORIGINAL - GRAYSCALE & FILTRADA - ECUALIZADA GLOBAL</h1>
                </section>
                <section class="content">
                    <?php 
for ($i = 0; $i <= 30; $i++) {
    ?>
                        <div class="row">
                            <div class="col-lg-12 col-md-12 col-xs-12">
                                <div class="box box-primary">
                                    <div class="box-header with-border">
                                        <h3 class="box-title">Paquete (<?php 
    echo strstr($imagenes[$i], '.', 1);
    ?>
)</h3>
                                    </div>
                                    <div class="box-body center">
                                        <div class="col-xs-4">
开发者ID:renzovillayzan,项目名称:ecualizador,代码行数:31,代码来源:galeria_view.php

示例5: getgpc

 * $Id: index.php 10469 2010-05-11 09:12:14Z monkey $
 */
require './include/common.inc.php';
$action = getgpc('a');
$action = empty($action) ? getgpc('action') : $action;
$source = getgpc('source') ? getgpc('source') : getgpc('s');
$step = getgpc('step');
$start = getgpc('start');
$setting = array();
if ($source) {
    if (!($setting = loadsetting($source))) {
        showmessage('load_setting_error');
    }
}
$action = empty($action) || empty($source) ? 'source' : $action;
showheader($action, $setting);
if ($action == 'source') {
    require DISCUZ_ROOT . './include/do_source.inc.php';
} elseif ($action == 'config' || CONFIG_EMPTY) {
    require DISCUZ_ROOT . './include/do_config.inc.php';
} elseif ($action == 'setting') {
    require DISCUZ_ROOT . './include/do_setting.inc.php';
} elseif ($action == 'select') {
    require DISCUZ_ROOT . './include/do_select.inc.php';
} elseif ($action == 'convert') {
    require DISCUZ_ROOT . './include/do_convert.inc.php';
} elseif ($action == 'finish') {
    require DISCUZ_ROOT . './include/do_finish.inc.php';
} else {
    showmessage('非法请求');
}
开发者ID:443952248,项目名称:jiazhichao,代码行数:31,代码来源:index.php

示例6: showheader

        if ($v === '') {
            $v = @array_keys($menu[$k]);
            $v = $menu[$k][$v[0]][1];
        }
        showheader($k, $v);
    }
    if ($isfounder) {
        echo '<li><em><a id="header_uc" hidefocus="true" href="' . UC_API . '/admin.php?m=frame&a=main&iframe=1" onclick="uc_login=1;toggleMenu(\'uc\', \'\');" target="main">' . $lang['header_uc'] . '</a></em></li>';
    }
} elseif ($_G['myshopstatus'] == 'verified' || $_G['myshopstatus'] == 'unverified') {
    showheader('index', 'index');
    if ($shop->status == 'new') {
        showheader('shop', 'edit&m=shop');
    } elseif ($shop->status == 'normal') {
        showheader('shop', 'edit&m=shop');
        showheader('infomanage', 'report');
    }
} else {
    cpmsg('無權限', 'index.php');
}
echo <<<EOT

\t\t\t\t\t</ul>
\t\t\t\t\t<div class="currentloca">
EOT;
if (IN_ADMIN === true) {
    echo "<p id=\"admincpnav\"></p>";
} else {
    echo "<p>" . lang('you_cur_shop_is') . " <font style=\"color:#6666ff; font-weight:bold;\">" . (!empty($_SGLOBAL['panelinfo']['subject']) ? $_SGLOBAL['panelinfo']['subject'] : $lang['none']) . "</font>";
    echo "&nbsp;&nbsp;&nbsp;&nbsp;<select id=\"myshoplist\"><option value=\"0\">{$lang['change_your_cur_shop']}</option>";
    foreach ($_G['myshopsarr'] as $myshop) {
开发者ID:pan289091315,项目名称:Discuz,代码行数:31,代码来源:main.inc.php

示例7: showmessage

function showmessage($message, $url_forward = '', $vars = array(), $timeout = 1)
{
    showheader();
    $message = lang('update', $message, $vars);
    $messageadd = '';
    $timeout = intval($timeout);
    if ($url_forward) {
        $messageadd .= "<script>setTimeout(\"redirect('{$url_forward}');\", {$timeout});</script>";
        $messageadd .= "&gt;&gt;<a href=\"index.php\"><strong>" . lang('update', 'message_stop') . "</strong></a>";
    } elseif (strpos($message, lang('update', 'return'))) {
        $messageadd .= "<a href=\"javascript:history.go(-1);\" class=\"mediumtxt\">" . lang('update', 'message_return') . '</a><br><br>';
    }
    $prompt = lang('update', 'prompt');
    echo <<<EOT
<table class="showtable">
\t<tbody><tr class="title"><td style="color: white">{$prompt}</td></tr>
\t\t<tr><td style="padding: 10px; background-color: #fefefe;font-size: 14px "><br>{$message}<br><br></td></tr>
\t\t<tr><td>{$messageadd}</td></tr>
\t</tbody>
</table>
EOT;
    showfooter();
    exit;
}
开发者ID:v998,项目名称:discuzx-en,代码行数:24,代码来源:global.func.php

示例8: showheader

<!DOCTYPE html>
<html>
    <?php 
showheader('Procesar imagen');
?>
    <body class="skin-blue sidebar-mini">
        <div class="wrapper">

            <?php 
showmenu('procesar');
?>
            
            <div class="content-wrapper">
                
                <section class="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <?php 
echo form_open_multipart('resultado', array('role' => 'form', 'id' => 'form', 'class' => 'form-horizontal'));
?>
                                <div class="box">
                                    <div class="box-header">
                                        <h3 class="box-title">Elige una imagen</h3>
                                    </div>
                                    <div class="box-body">
                                        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
                                            <div class="form-group labelimg">
                                                <label for="userfile" title="Click para subir imagen" id="lab">
                                                    <img src="<?php 
echo base_url('resources/img/image.png');
?>
开发者ID:renzovillayzan,项目名称:ecualizador,代码行数:31,代码来源:subir_imagen_view.php

示例9: showheader

<!DOCTYPE html>
<html>
    <?php 
showheader('Resultado imagen');
?>
    <body class="skin-blue sidebar-mini">
        <div class="wrapper">

            <?php 
showmenu('resultado');
?>
            
            <div class="content-wrapper">
                
                <section class="content">
                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-xs-12">
                            <div class="box box-primary">
                                <div class="box-header with-border">
                                    <div class="hidden-xs col-md-4 col-lg-4">
                                        <h3 class="box-title">Imagen original</h3>
                                    </div>
                                    <div class="hidden-xs col-md-4 col-lg-4">
                                        <h3 class="box-title">Escala de grises + filtrado</h3>
                                    </div>
                                    <div class="hidden-xs col-md-4 col-lg-4">
                                        <h3 class="box-title">Imagen ecualizada</h3>
                                        <div class="box-tools pull-right">
                                            <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
                                        </div>
                                    </div>
开发者ID:renzovillayzan,项目名称:ecualizador,代码行数:31,代码来源:resultado_view.php

示例10: showheader

</div>
<div class="navbg"></div>
<div class="nav">
<ul id="topmenu">

EOT;
showheader('index', 'home');
showheader('global', 'settings&operation=basic');
showheader('style', 'settings&operation=styles');
showheader('forum', 'forums');
showheader('user', 'members');
showheader('topic', 'moderate&operation=threads');
showheader('extended', 'tasks');
showheader('plugin', 'plugins');
showheader('adv', 'adv');
showheader('tool', 'tools&operation=updatecache');
if ($isfounder) {
    echo '<li><em><a id="header_uc" hidefocus="true" href="' . UC_API . '/admin.php?m=frame&a=main&iframe=1" onclick="uc_login=1;toggleMenu(\'uc\', \'\');" target="main">' . $lang['header_uc'] . '</a></em></li>';
}
echo <<<EOT

</ul>
<div class="currentloca">
<p id="admincpnav"></p>
</div>
<div class="navbd"></div>
<div class="sitemapbtn">
\t<div style="float: left; margin:-5px 10px 0 0"><form name="search" method="post" action="{$BASESCRIPT}?action=search" target="main"><input type="text" name="keywords" value="" class="txt" /> <input type="hidden" name="searchsubmit" value="yes" class="btn" /><input type="submit" name="searchsubmit" value="{$lang['search']}" class="btn" style="margin-top: 5px;vertical-align:middle" /></form></div>
\t<span id="add2custom"></span>
\t<a href="###" id="cpmap" onclick="showMap();return false;"><img src="images/admincp/btn_map.gif" title="{$lang['admincp_sitemap']}" width="72" height="18" /></a>
</div>
开发者ID:BGCX262,项目名称:zyyhong-svn-to-git,代码行数:31,代码来源:main.inc.php

示例11: main

function main()
{
    global $db, $user_prefix, $pagetitle, $CLASS, $bgcolor2;
    if (isset($_GET['show'])) {
        if ($_GET['show'] == 'tmpusers') {
            $pagetitle .= ' ' . _BC_DELIM . ' ' . _WAITINGUSERS;
        } else {
            if ($_GET['show'] == 'sususers') {
                $pagetitle .= ' ' . _BC_DELIM . ' ' . _SUSPENDUSERS;
            } else {
                if ($_GET['show'] == 'delusers') {
                    $pagetitle .= ' ' . _BC_DELIM . ' ' . _DELETEUSERS;
                }
            }
        }
    }
    list($tmprows) = $db->sql_ufetchrow('SELECT COUNT(*) FROM ' . $user_prefix . '_users_temp', SQL_NUM);
    list($usrrows) = $db->sql_ufetchrow('SELECT COUNT(*) FROM ' . $user_prefix . '_users WHERE user_level>0 AND user_id>1', SQL_NUM);
    list($susrows) = $db->sql_ufetchrow('SELECT COUNT(*) FROM ' . $user_prefix . '_users WHERE user_level=0 AND user_id>1', SQL_NUM);
    list($delrows) = $db->sql_ufetchrow('SELECT COUNT(*) FROM ' . $user_prefix . '_users WHERE user_level<0 AND user_id>1', SQL_NUM);
    showheader();
    echo '<table>
	<tr><td>' . ($tmprows > 0 ? '<a href="' . URL::admin('&amp;show=tmpusers') . '">' . _WAITINGUSERS . '</a>' : _WAITINGUSERS) . '</td><td>: ' . $tmprows . '</td></tr>
	<tr><td>' . _ACTIVEUSERS . '</td><td>: ' . $usrrows . '</td></tr>';
    if ($susrows > 0) {
        echo '<tr><td><a href="' . URL::admin('&amp;show=sususers') . '">' . _SUSPENDUSERS . '</a></td><td>: ' . $susrows . '</td></tr>';
    }
    if ($delrows > 0) {
        echo '<tr><td><a href="' . URL::admin('&amp;show=delusers') . '">' . _DELETEUSERS . '</a></td><td>: ' . $delrows . '</td></tr>';
    }
    echo '</table><br />';
    if (isset($_GET['show']) && !$CLASS['member']->demo) {
        if ($_GET['show'] == 'tmpusers') {
            /* Begin List Waiting Users */
            echo open_form(URL::admin(), 'waitingusers', _WAITINGUSERS, ' class="title"');
            echo '<table width="100%">
		<tr bgcolor="' . $bgcolor2 . '"><td width="20"></td><td>' . _NICKNAME . '</td><td>' . _EMAIL . '</td></tr>';
            $result = $db->sql_query("SELECT user_id, username, user_email FROM " . $user_prefix . "_users_temp ORDER BY username");
            while ($row = $db->sql_fetchrow($result)) {
                echo '<tr><td><input name="members[]" type="checkbox" value="' . $row['user_id'] . '" /></td><td>' . $row['username'] . '</td><td>' . $row['user_email'] . '</td></tr>';
            }
            echo '<tr><td colspan="4"><select name="wait">
		<option value="approve">' . _APPROVE . '</option>
		<option value="deny">' . _DENY . '</option>
		<option value="resendMail">' . _RESEND . '</option>
		<option value="modify">' . _MODIFYINFO . '</option>
		</select>
		<input type="submit" value="' . _OK . '" /></td></tr>';
            /* End List Waiting Users */
        } else {
            if ($_GET['show'] == 'sususers') {
                /* Begin List Suspended Users */
                echo open_form(URL::admin(), 'suspendedusers', _SUSPENDUSERS, ' class="title"');
                echo '<table width="100%">
		<tr bgcolor="' . $bgcolor2 . '"><td width="20">' . _RESTORE . '</td><td>' . _NICKNAME . '</td><td>' . _EMAIL . '</td><td>' . _SUSPENDREASON . '</td></tr>';
                $result = $db->sql_query("SELECT user_id, username, user_email, susdel_reason FROM " . $user_prefix . "_users WHERE user_level=0 AND user_id>1 ORDER BY username");
                while ($row = $db->sql_fetchrow($result)) {
                    echo '<tr><td><input name="members[]" type="checkbox" value="' . $row['user_id'] . '" /></td><td><a href="' . URL::admin("&amp;mode=edit&amp;edit=profile&amp;id={$row['user_id']}") . '">' . $row['username'] . '</a></td><td>' . $row['user_email'] . '</td><td>' . $row['susdel_reason'] . '</td></tr>';
                }
                echo '<tr><td colspan="4"><input type="hidden" name="susdel" value="restoreUser" /><input type="submit" value="' . _RESTORE . '" /></td></tr>';
                /* End List Suspended Users */
            } else {
                if ($_GET['show'] == 'delusers') {
                    /* Begin List Deleted Users */
                    echo open_form(URL::admin(), 'deletedusers', _DELETEUSERS, ' class="title"');
                    echo '<tr bgcolor="' . $bgcolor2 . '"><td width="20"></td><td>' . _NICKNAME . '</td><td>' . _EMAIL . '</td><td>' . _DELETEREASON . '</td></tr>';
                    $result = $db->sql_query("SELECT user_id, username, user_email, susdel_reason FROM " . $user_prefix . "_users WHERE user_level<0 AND user_id>1 ORDER BY username");
                    while ($row = $db->sql_fetchrow($result)) {
                        echo '<tr><td><input name="members[]" type="checkbox" value="' . $row['user_id'] . '" /></td><td><a href="' . URL::admin("&amp;mode=edit&amp;edit=profile&amp;id={$row['user_id']}") . '">' . $row['username'] . '</a></td><td>' . $row['user_email'] . '</td><td>' . $row['susdel_reason'] . '</td></tr>';
                    }
                    echo '<tr><td colspan="4"><select name="susdel">
		<option value="removeUser">' . _REMOVE . '</option>
		</select>
		<input type="submit" value="' . _OK . '" /></td></tr>';
                    /* End List Deleted Users */
                }
            }
        }
        echo '</table></form></fieldset>';
    }
    showfooter();
}
开发者ID:cbsistem,项目名称:nexos,代码行数:82,代码来源:users.php

示例12: authorize

<?php

include_once $_SERVER["DOCUMENT_ROOT"] . "/lib/engine.php";
// это нужно так как при notop не вызывается заголовк html
authorize();
// вызов авторизации
showheader("Управление");
$menu = new Menu();
$menu->add("todo", "ToDo");
$menu->add("logs", "Logs");
$menu->add("users", "Users");
$menu->add("backup", "Backup", false, '/lib/modules/backup/admin_dumper.php');
$menu->add("back", "Назад", false, '/');
$menu->show();
showfooter();
开发者ID:GGF,项目名称:Production-Base,代码行数:15,代码来源:index.php

示例13: authorize

<?
include_once $GLOBALS["DOCUMENT_ROOT"]."/lib/sql.php";
authorize();
showheader( "Склады");
// тут ссылк ана главное
// дальше собственно текст страницы

?>
<div class="menu">
<table width="100%"><tr><td align="center">
<table><tr>
<td><div class='menuitem'><a href='himiya/'><img src="/picture/him.gif"><br>Материалы</a></div></td>
<td><div class='menuitem'><a href='materials/'><img src="/picture/mater.gif"><br>Текстолит</a></div></td>
<td><div class='menuitem'><a href='himiya2/'><img src="/picture/him2.gif"><br>Лаборатория</a></div></td>
<td><div class='menuitem'><a href='sverla/'><img src="/picture/sver.gif"><br>Сверла 3.0</a></div></td>
<td><div class='menuitem'><a href='halaty/'><img src="/picture/halat.gif"><br>Спецодежда</a></div></td>
</tr><tr>
<td><div class='menuitem'><a href='instr/'><img src="/picture/instr.gif"><br>Осн.Средства</a></div></td>
<td><div class='menuitem'><a href='nepon/'><img src="/picture/sver.gif"><br>Сверла 3.175</a></div></td>
<td><div class='menuitem'><a href='maloc/'><img src="/picture/none.gif"><br>Малоценка</a></div></td>
<td><div class='menuitem'><a href='stroy/'><img src="/picture/stroy.gif"><br>Стройматериалы</a></div></td>
<td><div class='menuitem'><a href='zap/'><img src="/picture/none.gif"><br>Запчасти<br>инструменты</a></div></td>
</tr></table>
</td></tr></table>
</div>
<?
showfooter();
?>
开发者ID:GGF,项目名称:oldbaza,代码行数:28,代码来源:index.php

示例14: foreach

       <a href="index.php" target="_blank">$header_bbs</a>

      </p>
    </div>
<!--    <div class="navbg"></div>-->

<div id="nav" class="nav">
<ul id="topmenu">

EOT;
foreach($topmenu as $k => $v) {
	if($v === '') {
		$v = @array_keys($menu[$k]);
		$v = $menu[$k][$v[0]][1];
	}
	showheader($k, $v);
}

$uc_api_url = '';
if($isfounder) {
	loaducenter();
	$uc_api_url = UC_API;
	echo '<li><em><a id="header_uc" hidefocus="true" href="'.UC_API.'/admin.php?m=frame" onmouseover="previewheader(\'uc\')" onmouseout="previewheader()" onclick="uc_login=1;toggleMenu(\'uc\', \'\');doane(event);">'.cplang('header_uc').'</a></em></li>';
	$topmenu['uc'] = '';
}

$headers = "'".implode("','", array_keys($topmenu))."'";

echo <<<EOT

</ul>
开发者ID:xDiglett,项目名称:discuzx30,代码行数:31,代码来源:admincp_main.php

示例15:

<?
include_once $GLOBALS["DOCUMENT_ROOT"]."/lib/sql.php";

if ($action!='add') {
	showheader("‘отошаблоны запуск");
}
	include "inc.php";
if ($action!='add') {
	showfooter();
}
?>
开发者ID:GGF,项目名称:oldbaza,代码行数:11,代码来源:index.php


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