本文整理汇总了PHP中app\Client::showTodayDoctorClients方法的典型用法代码示例。如果您正苦于以下问题:PHP Client::showTodayDoctorClients方法的具体用法?PHP Client::showTodayDoctorClients怎么用?PHP Client::showTodayDoctorClients使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类app\Client
的用法示例。
在下文中一共展示了Client::showTodayDoctorClients方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: unset
use App\Client;
if (isset($_SESSION['delete'])) {
echo '<div class="container"><pre>' . $_SESSION['delete'] . '</pre>' . '</div>';
unset($_SESSION['delete']);
echo '<br><br>';
}
?>
<br><br><br>
<?php
for ($i = 0; $i < 14; $i++) {
$date = date("Y-m-d", mktime(0, 0, 0, date("m"), date("d") + $i, date("Y")));
$date1 = mktime(0, 0, 0, date("m"), date("d") + $i, date("Y"));
$days = array('Pazar', "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi");
$month = array('', 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık');
$fullDate = date("d", $date1) . ' ' . $month[date("n", $date1)] . ' ' . date('Y', $date1) . ' ' . $days[date("w", $date1)];
$clientList = Client::showTodayDoctorClients($date, $_SESSION['user_id']);
?>
<div class="container">
<div class="panel-group">
<div class="panel panel-primary">
<div class="panel-heading" id="b<?php
echo $i;
?>
" style="background-color: #ff0906;" ><center><a style="color: white;text-decoration: none;"><h3><?php
echo $fullDate;
?>
</a></h3></center></div>
<div class="panel-body" id="t<?php
echo $i;