本文整理汇总了PHP中Layout::displayTitle方法的典型用法代码示例。如果您正苦于以下问题:PHP Layout::displayTitle方法的具体用法?PHP Layout::displayTitle怎么用?PHP Layout::displayTitle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Layout
的用法示例。
在下文中一共展示了Layout::displayTitle方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Connection
<?php
include_once 'CheckLogOut.php';
require_once 'Connection.php';
require_once 'Layout.php';
$con = new Connection();
$lay = new Layout();
$lay->IncreaseStyles();
$lay->displayTitle(1);
$lay->displayMenu('NewContact.php', '', 'Images/addContact.png');
$contactId = $_GET['contactId'];
echo '<html>';
echo '<body>';
echo '<div id="BODY">';
echo '<form action="ContactPhone_ins.php" method=GET name="frmContactPhone">';
echo '<fieldset>';
echo '<legend> Telefone de Contato </legend>';
echo 'Id do Contato: <br>';
echo '<input type="text" value="' . $contactId . '" name="contactId" readonly="readonly"> </input> <br>';
echo 'Tipo de Telefone: <br>';
echo '<select name="phoneType">';
echo '<option value="Celular">Celular</option>';
echo '<option value="Residencial">Fone residencial</option>';
echo '<option value="Comercial">Comercial</option>';
echo '</select> <br>';
echo 'Código do País: <br>';
echo '<input type="text" name="countryId"> </input> <br>';
echo 'DDD: <br>';
echo '<input type="text" name="ddd"> </input> <br>';
echo 'Número: <br>';
echo '<input type="text" name="phoneNumber"> </input> <br>';
echo '</fieldset>';
示例2: Connection
<?php
include_once 'CheckLogOut.php';
require_once 'Connection.php';
require_once 'Layout.php';
require_once 'CacheArquivo.php';
require_once 'User';
$c = new Connection();
$lay = new Layout();
$lay->IncreaseStyles();
$lay->displayTitle(1, $USERNAME);
$lay->displayMenu('NewContact.php', 'Adicionar Contato', 'Images/addContact.png', 'EditUser.php', 'Gerenciamento de Conta', 'Images/settings.png', 'Logout.php', 'Deslogar-se', 'Images/logout.png');
echo '<html>';
echo '<body>';
echo '<div id="BODY">';
echo '<form action="User_edt.php" method=POST name="frmUser_edt" Class="form-center">';
echo '<fieldset class="fieldset-auto-width">';
echo '<legend> <h2> <font face="Arial" color="blue"> Edição de Usuário</h2> </font></legend>';
echo 'Login: <br>';
echo '<input type="text" name="userName" value="' . $USERNAME . '" readonly="readonly"> </input> <br>';
echo 'Senha: <br>';
echo '<input type="password" name="password"> </input> <br>';
echo 'Nome do usuário: <br>';
echo '<input type="text" name="fullName"> </input> <br>';
echo '</fieldset>';
echo '<br><input type="submit" value="Salvar Dados"> </input>';
echo '</form>';
echo '</div>';
echo '</body>';
echo '</html>';
示例3: Layout
<?php
require_once 'Layout.php';
$lay = new Layout();
$lay->IncreaseStyles();
$lay->displayTitle(1, "Visitante");
$lay->displayMenu('NewUser.php', 'Criar usuário', 'Images/newUser.png');
echo '<html>';
echo '<body>';
echo '<div id="BODY">';
echo '<form action="User_ins.php" method=POST name="frmUser_ins" Class="form-center">';
echo '<fieldset class="fieldset-auto-width">';
echo '<legend> <h2> <font face="Arial" color="blue"> Cadastro de Usuário</h2> </font></legend>';
echo 'Login: <br>';
echo '<input type="text" name="userName"> </input> <br>';
echo 'Senha: <br>';
echo '<input type="password" name="password"> </input> <br>';
echo 'Nome do usuário: <br>';
echo '<input type="text" name="fullName"> </input> <br>';
echo '</fieldset>';
echo '<br><input type="submit" value="Salvar Dados"> </input>';
echo '</form>';
echo '</div>';
echo '</body>';
echo '</html>';