本文整理汇总了PHP中Domain::single_domain方法的典型用法代码示例。如果您正苦于以下问题:PHP Domain::single_domain方法的具体用法?PHP Domain::single_domain怎么用?PHP Domain::single_domain使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Domain
的用法示例。
在下文中一共展示了Domain::single_domain方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Domain
?>
" readonly>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="rows">
<div class="col-md-8">
<label class="col-md-4 control-label" for="domain"> Domain</label>
<div class="col-md-8">
<?php
$domain_id = $list->domain_id;
$domain = new Domain();
$listdomain = $domain->single_domain($domain_id);
?>
<input class="form-control input-sm" id="domain" name="domai" type="text" value="<?php
echo $listdomain->name;
?>
" readonly>
</div>
</div>
</div>
</div>
</center>
<?php
if ($_SESSION['ACCOUNT_TYPE'] == 'officer') {
echo '
示例2: Domain
<?php
$domain = new Domain();
$list = $domain->single_domain($_GET['domainId']);
?>
<form class="form-horizontal well span9" action="controller.php?action=view&id=<?php
echo $list->domain_id;
?>
" method="POST">
<fieldset>
<legend>Domain Information</legend>
<div class="form-group" id="domain_id">
<div class="col-md-8">
<label class="col-md-4 control-label" for="domain_id">Domain Number </label>
<div class="col-md-8">
<input class="form-control input-sm" id="domain_id" name="domain_id" type="text" value="<?php
echo $list->domain_id;
?>
" readonly>
</div>
</div>
</div>
<div class="form-group" id="domain_id">
<div class="col-md-8">
示例3:
<div class="container">
<div class="panel panel-primary">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3"><p align="left"><a href="<?php
echo WEB_ROOT;
?>
admin/index.php?page=2" class="btn btn-info btn-xsm"><span class="glyphicon glyphicon-home"></span> Home</a><p>
</div>
<div class="col-xs-9">
<div class="col-xs-8">
<p ><strong><h5 align="right">
<?php
echo $_SESSION['ACCOUNT_FNAME'] . " " . $_SESSION['ACCOUNT_LNAME'];
?>
</h5></strong></p>
</div>
<div class="col-xs-4">
<div class="col-xs-6">
<p align="left"><a href="<?php
echo WEB_ROOT;
?>
admin/modules/domain/index.php" class="btn btn-info btn-xsm">
<span class="glyphicon glyphicon-step-backward"></span>Back
</a
</p>
</div>
<div class="col-xs-6">
<p align="right"><a href="<?php