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


PHP pageTitle函数代码示例

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


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

示例1: printHeader

 /**
  * Prints the template header HTML for a non-modal window.
  *
  * @param string page title
  * @param array JavaScript / CSS files to load
  * @return void
  */
 public static function printHeader($pageTitle, $headIncludes = array())
 {
     pageTitle($pageTitle);
     if($headIncludes)
     {
         foreach($headIncludes as $include)
         {
             pageHeaderInclude($include);
         }
     }
 }
开发者ID:Hassanj343,项目名称:candidats,代码行数:18,代码来源:TemplateUtility.php

示例2: pageTitle

			var getQuantity = document.getElementById("quantity").value;

			if(!quantityRegex.test(getQuantity) || getQuantity==0){ // error if quantity isn't a number or if it's 0
				document.getElementById("quantityError").textContent = "Invalid Quantity";
			} 
			else {
				document.getElementById("quantityError").textContent = "";
				document.purchaseForm.hItemId.value=iid; //hidden value for hItemId set to iid
				document.purchaseForm.action.value=action; //hidden action value set
				document.purchaseForm.hQuantity.value=getQuantity; //hidden hQuantity value set to quantity
				document.purchaseForm.submit(); //submit the form
			}
		}
		</script>
		<?php 
pageTitle($_GET['itemID']);
?>
	</head>
	<body>		
		<div id="header">			
			<div id="headBox">
				<div id="logo">
					<img alt="Sheet Music Logo" src="images/logo.png">
				</div>
				<div id="topLinks">
					<span id="topLinkStyle">
						<span class="homeLink">
							<?php 
signInStatus();
?>
						</span>
开发者ID:simon-barton,项目名称:MajorProject,代码行数:31,代码来源:details.php

示例3: pageHeaderInclude

<?php

pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/export.js');
pageHeaderInclude('js/dataGrid.js');
pageTitle('Lists');
ob_start();
if ($this->dataGrid->getNumberOfRows()): ?>
            <table width="100%">
                <tr>
                    <td width="3%">
                        <img src="images/job_orders.gif" width="24" height="24" border="0" alt="Job Orders" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Lists: Home</h2></td>
                    <td align="right">
                        <form name="jobOrdersViewSelectorForm" id="jobOrdersViewSelectorForm" action="<?php echo(CATSUtility::getIndexName()); ?>" method="get">
                            <input type="hidden" name="m" value="joborders" />
                            <input type="hidden" name="a" value="list" />

                            <table class="viewSelector">
                                <tr>
                                    <td>
                                    </td>
                                 </tr>
                            </table>
                        </form>
                    </td>
                </tr>
            </table>
开发者ID:Hassanj343,项目名称:candidats,代码行数:30,代码来源:Lists.php

示例4: cpPhpcron

function cpPhpcron ($phpcron_command="default") {
  global $PHP_SELF;

  global $phpcron_file;
  global $phpcron_off;
  global $phpcron_psinfo_file;
  global $assignment_info,$user_config_file, $left_mlc_ch, $right_mlc_ch, $sc_ch, $uc_contents_length;
  global $uc_contents, $uc_contents_length;
  global $cp_left_col;
  global $cp_right_col;
  global $cp_row_title;
  global $cp_title;
  global $status_on;
  global $status_off;
  global $status_venabled;
  global $phpcrontab_filename;
  global $log_result_file;
  global $admin_email_address;
  global $system_name;
  global $daemon_mode;
  global $phpcron_venabled_file;
  global $enable_virtual_daemon;
  global $phpcron_output_file;
  global $admin_email_address;
  global $error_messages;
  global $php_path;

   echo pageTitle("PHPCRON Admin - Control Panel");


  switch ($phpcron_command) {

  case "VStop":

    /* Disable Virtual Daemon */
	 
    if (file_exists($phpcron_venabled_file)) {
         
    
    deleteFile($phpcron_venabled_file);
    
    appendToFile("
****************************************************************
PHPCRON Virtual Daemon Stopped ".date("m/d/Y").":".date("h:i:s:A")."
****************************************************************
", $log_result_file);

 
    
    
    }

    break;
    
    case "DStop":

    /* Turn off Daemon */
    
    if(!stopOtherPhpcron()) {
     $error_messages.="
    Error: Cannot Stop Phpcron. Make sure the server process can write to ".dirname($phpron_off)."<BR>";
    
    }
  
    
    break;

  case "Start":


 
     $os_formatted_path=formatPath($phpcron_file);

  
	  if ($enable_virtual_daemon) { 

    /*Enable Virtual Daemon */

        /* If no perpetual loop just write "VIRTUAL DAEMON ENABLED" to phpcron_venabled_file. This will
        allow phpcron to be run from the unix crontab with the phpcron_virtuald script. 
         */
	 


       $save_results=saveFile("VIRTUAL DAEMON ENABLED", $phpcron_venabled_file);
	    appendToFile("
****************************************************************
PHPCRON Virtual Daemon Started ".date("m/d/Y").":".date("h:i:s:A")."
****************************************************************
", $log_result_file);



        if(!$save_results[0]) { //if not a successful save get error messages

        $index=1;
        $output="";
        while($save_results[$index]) {
        $output.=$save_results[$index];
        $index++;
//.........这里部分代码省略.........
开发者ID:nmeierpolys,项目名称:DoIt,代码行数:101,代码来源:phpcron_admin.php

示例5: pageHeaderInclude

<?php
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('js/listEditor.js');
pageTitle('Settings');
ob_start();

 ?>
<p class="note">Customize Extra Fields</p>

<form name="editSettingsForm" id="editSettingsForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=customizeExtraFields" method="post">
  <input type="hidden" name="postback" value="postback" />
  <table class="sortable" width="920">
    <div id="changedDiv" style="display:none;">
      <div style="font-weight:bold; border: 1px solid #000; background-color: #ff0000; padding:5px;">
         You have made changes, to apply them press 'Save' at the bottom of the page.
      </div>
      <br />
    </div>
    <input type="hidden" name="commandList" id="commandList" />
    <script type="text/javascript">
       function appendCommandList(command)
       {
          document.getElementById('commandList').value = document.getElementById('commandList').value + escape(command) + ',';
          document.getElementById('changedDiv').style.display = '';
          document.getElementById('buttonSave').style.display = '';
          document.getElementById('buttonDone').style.display = 'none';
       }
       var inlineEditIDCounter = 0;
    </script>
        <?php foreach (array(array("name" => "Job Orders", "RS" => $this->extraFieldSettingsJobOrdersRS, "type" => DATA_ITEM_JOBORDER), 
开发者ID:Hassanj343,项目名称:candidats,代码行数:31,代码来源:CustomizeExtraFields.php

示例6: include_once

 * Copyright (C) 2014 - 2015 Auieo Software Private Limited, Parent Company of Unicomtech.
 * 
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
include_once("modules/candidates/ClsCandidateView.php");
$indexName=CATSUtility::getIndexName();
ob_start();
pageHeaderInclude('js/activity.js');
pageHeaderInclude('js/sorttable.js');
pageHeaderInclude('js/match.js');
pageHeaderInclude('js/lib.js');
pageHeaderInclude('js/pipeline.js');
pageHeaderInclude('js/attachment.js');

pageTitle('Candidate - '.$this->data['first_name'].' '.$this->data['last_name']);
//TemplateUtility::printHeader('Candidate - '.$this->data['firstName'].' '.$this->data['lastName'], array( 'js/activity.js', 'js/sorttable.js', 'js/match.js', 'js/lib.js', 'js/pipeline.js', 'js/attachment.js'));
$test = array(8=>1,9=>2,10=>3,11=>4,12=>5,13=>6,14=>7,15=>8);

$hookFunction=function ($k,$v,$data)
{
    if($k=="address") return nl2br("pppp".htmlspecialchars($data['address']));
    return true;
};

$AUIEO_HEADER=  ob_get_clean();$data=$this->data;//trace($data);
$objCandidateView=new ClsCandidateView($this->data);
$arrRender=$objCandidateView->render($hookFunction);//trace($arrRender);
$AUIEO_RECORD_ID=$this->data["candidate_id"];
//$arrRender=$objCandidateView->render();
$AUIEO_JSON_DATA=  json_encode($this->data);
开发者ID:Hassanj343,项目名称:candidats,代码行数:31,代码来源:show_1.php

示例7: pageHeaderInclude

<?php
pageHeaderInclude('modules/contacts/validator.js');
pageHeaderInclude('js/searchSaved.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/searchAdvanced.js');
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('js/export.js');
pageTitle('Contacts');
ob_start();
 ?>





        <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/contact.gif" width="24" height="24" border="0" alt="Contacts" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Contacts: Search Contacts</h2></td>
                </tr>
            </table>

            <p class="note">Search Contacts</p>

            <table class="searchTable" id="searchTable ">
                <tr>
                    <td>
                        <form name="searchForm" id="searchForm" action="<?php echo(CATSUtility::getIndexName()); ?>" method="get" autocomplete="off">
开发者ID:Hassanj343,项目名称:candidats,代码行数:31,代码来源:Search.php

示例8: pageHeaderInclude

<?php
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/dataGrid.js');
pageTitle('Activities');
ob_start();

            ?>
<div style="text-align: right;"><?php $this->dataGrid->printNavigation(false); ?>&nbsp;&nbsp;<?php echo($this->quickLinks); ?></div>
            <p class="note">
                <span style="float:left;">Activities - Page <?php echo($this->dataGrid->getCurrentPageHTML()); ?></span>
                <span style="float:right;">
                    <?php $this->dataGrid->drawRowsPerPageSelector(); ?>
                    <?php $this->dataGrid->drawShowFilterControl(); ?>
                </span>&nbsp;
            </p>

            <?php $this->dataGrid->drawFilterArea(); ?>
            <?php $this->dataGrid->draw();  ?>

            <div style="display:block;">
                <span style="float:left;">
                    <?php $this->dataGrid->printActionArea(); ?>
                </span>
                <span style="float:right;">
                    <?php $this->dataGrid->printNavigation(true); ?>
                </span>&nbsp;
            </div>

            
开发者ID:Hassanj343,项目名称:candidats,代码行数:28,代码来源:ActivityDataGrid.php

示例9: pageHeaderInclude

<?php
pageHeaderInclude('js/sorttable.js');
pageTitle('Settings - Edit User');
ob_start();
?>

            <p class="note">
                <span style="float: left;">Edit Site User</span>
                <span style="float: right;"><a href='<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=manageUsers'>Back to User Management</a></span>&nbsp;
            </p>

            <form name="editUserForm" id="editUserForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=editUser" method="post" onsubmit="return checkEditUserForm(document.editUserForm);" autocomplete="off">
                <input type="hidden" name="postback" id="postback" value="postback" />
                <input type="hidden" id="userID" name="userID" value="<?php $this->_($this->data['userID']); ?>" />

                <table class="editTable" width="600">
                    <tr>
                        <td class="tdVertical">
                            <label id="firstNameLabel" for="firstName">First Name:</label>
                        </td>
                        <td class="tdData">
                            <input type="text" class="inputbox" id="firstName" name="firstName" value="<?php $this->_($this->data['firstName']); ?>" style="width: 150px;" />&nbsp;*
                        </td>
                    </tr>

                    <tr>
                        <td class="tdVertical">
                            <label id="lastNameLabel" for="lastName">Last Name:</label>
                        </td>
                        <td class="tdData">
                            <input type="text" class="inputbox" id="lastName" name="lastName" value="<?php $this->_($this->data['lastName']); ?>" style="width: 150px;" />&nbsp;*
开发者ID:Hassanj343,项目名称:candidats,代码行数:31,代码来源:editUser.php

示例10: get_layout_class

    <?php 
$bodyClass = get_layout_class(true);
?>

    <div class="<?php 
echo $bodyClass;
?>
 interior-content">

        <div id="right">
            <div class="row">
                <div class="mainContent" id="content">

                    <?php 
$record_id = get_option('page_for_posts');
echo pageTitle($record_id);
?>

                    <div class="entry">
                        <?php 
getContentByID($record_id);
?>
                    </div>

                    <?php 
$classes = array('post', 'landing', 'row');
?>
                    <!-- WordPress Loop: Only happens if there are posts. -->
                    <?php 
if (have_posts()) {
    ?>
开发者ID:pjsinco,项目名称:doctorsthatdo,代码行数:31,代码来源:page-blogLanding.php

示例11: pageHeaderInclude

<?php
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/dataGrid.js');
pageHeaderInclude('js/home.js');
pageTitle('Home');

ob_start();
?>
            <table style="width:100%;">
                <tr>
                    <td align="left" valign="top" style="text-align: left; width: 33%; height:50px;">
                        <div class="noteUnsizedSpan" style="width:98%;">My Recent Calls</div>
                        <?php $this->dataGrid2->drawHTML();  ?>
                    </td>

                    <td align="center" valign="top" style="text-align: left; width: 33%; font-size:11px; height:50px;">
                        <?php echo($this->upcomingEventsFupHTML); ?>
                    </td>

                    <td align="center" valign="top" style="text-align: left; font-size:11px; height:50px;">
                        <?php echo($this->upcomingEventsHTML); ?>
                    </td>
                </tr>
            </table>

            <table style="width:100%;">
                <tr>
                    <td align="left" valign="top" style="text-align: left; width: 50%; height: 240px;">
                        <div class="noteUnsizedSpan" style="width:410px;">Recent Hires</div>

                        <table class="sortable" width="410" style="margin: 0 0 4px 0;">
开发者ID:Hassanj343,项目名称:candidats,代码行数:31,代码来源:home.php

示例12: pageHeaderInclude

<?php
pageHeaderInclude('js/sorttable.js');
pageTitle('Quick Search');
ob_start();
?>
     
        <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/search.gif" width="24" height="24" border="0" alt="Quick Search" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Quick Search</h2></td>
                </tr>
            </table>
            <br />

            <!-- JO -->
            <p class="note">Job Orders Results</p>
            <?php if (!empty($this->jobOrdersRS)): ?>
                <table class="sortable" width="100%">
                    <tr>
                        <th align="left">Title</th>
                        <th align="left">Company</th>
                        <th align="left">Type</th>
                        <th align="left">Status</th>
                        <th align="left">Start</th>
                        <th align="left">Recruiter</th>
                        <th align="left">Owner</th>
                        <th align="left">Created</th>
                        <th align="left">Modified</th>
开发者ID:Hassanj343,项目名称:candidats,代码行数:31,代码来源:SearchEverything.php

示例13: pageHeaderInclude

<?php
pageHeaderInclude('modules/calendar/Calendar.css');
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('modules/calendar/Calendar.js');
pageHeaderInclude('modules/calendar/CalendarUI.js');
pageHeaderInclude('modules/calendar/validator.js');
pageTitle('Calendar');
ob_start();
 ?>

        <div id="contents">
            <table width="100%">
                <tr>
                    <td width="3%">
                        
                    </td>
                    <td></td>
                    <td align="right" nowrap="nowrap">
                        <?php if ($this->userIsSuperUser == 1): ?>
                            <input type="checkbox" name="hideNonPublic" id="hideNonPublic" onclick="refreshView();" <?php if ($this->superUserActive): ?>checked<?php endif; ?>/>Show Entries from Other Users
                        <?php else: ?>
                            <input type="checkbox" style="display:none;" name="hideNonPublic" id="hideNonPublic" onclick="" />
                        <?php endif; ?>
                    </td>
                </tr>
            </table>

            <p class="note" id="calendarTitle">Calendar</p>

            <table style="border-collapse: collapse;">
开发者ID:Hassanj343,项目名称:candidats,代码行数:30,代码来源:Calendar.php

示例14: pageTitle

<?php

pageTitle('Support');
ob_start();
 ?>
<style type="text/css">
div.friendlyErrorTitle {
    font-size: 16pt;
    font-weight: bold;
    color: #444444;
    line-height: 14pt;
    font-family: Arial, Verdana, sans-serif;
}

div.friendlyErrorMessage {
    font-size: 9pt;
    color: #444444;
    line-height: 14pt;
    font-family: Arial, Verdana, sans-serif;
}
</style>
            <table style="padding: 25px;">
                <tr>
                    <?php if (!$this->modal): ?>
                    <td align="left" valign="top" style="padding-right: 20px;">
                        <img src="images/friendly_error.jpg" border="0" />
                    </td>
                    <?php endif; ?>
                    <td align="left" valign="top">
                        <div class="friendlyErrorTitle"><?php echo $this->errorTitle; ?></div>
                        <p />
开发者ID:Hassanj343,项目名称:candidats,代码行数:31,代码来源:FriendlyError.php

示例15: siteName

    <header>
        <h2><?php 
siteName();
?>
</h2>
        <nav class="menu">
            <a href="/" title="Home">Home</a> |    
            <a href="/?page=about-us">About</a> |
            <a href="/?page=products">Products</a> |
            <a href="/?page=contact-us">Contact</a>
        </nav>
    </header>    

    <article>
        <h3><?php 
pageTitle();
?>
</h3>
        <?php 
pageContent();
?>
    </article>

    <footer><small>&copy;<?php 
echo date('Y');
?>
 <?php 
siteName();
?>
. All rights reserved.</small></footer>
</div>
开发者ID:banago,项目名称:simple-php-website,代码行数:31,代码来源:index.php


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