示例#1
0
 public function back($url)
 {
     $buffer = EMPTYSTRING;
     $buffer .= '<a href="' . Router::generateURL($url) . '" class="btn btn-primary btn-sm">';
     $buffer .= '<i class="fa fa-backward"></i>&nbsp;';
     $buffer .= BackendTranslate::getLabel(BACK);
     $buffer .= '</a>';
     return $buffer;
 }
示例#2
0
 public function back($url)
 {
     $buffer = EMPTYSTRING;
     $buffer .= '<a href="' . Router::generateURL($url) . '" class="btn btn-primary btn-sm">';
     $buffer .= '<span class="glyphicon glyphicon-backward" aria-hidden="true"></span>&nbsp;';
     $buffer .= ButtonsTranslate::getLabel(BACK);
     $buffer .= '</a>';
     return $buffer;
 }
示例#3
0
 public function visible($url, $online)
 {
     $buffer = EMPTYSTRING;
     if ($online == 1) {
         $buffer .= '<a href="' . Router::generateURL($url) . '" class="btn btn-xs btn-' . SUCCESS . '">';
     } else {
         $buffer .= '<a href="' . Router::generateURL($url) . '" class="btn btn-xs btn-' . DANGER . '">';
     }
     $buffer .= '<span class="glyphicon glyphicon-refresh"></span>&nbsp;';
     if ($online == 1) {
         $buffer .= BackendTranslate::getLabel('show');
     } else {
         $buffer .= BackendTranslate::getLabel('hide');
     }
     $buffer .= '</a>&nbsp;|&nbsp;';
     return $buffer;
 }
示例#4
0
 function redirect($url, $code = null)
 {
     if ($code == 301) {
         header("HTTP/1.1 301 Moved Permanently");
     }
     header("Location: " . Router::generateURL($url));
 }
示例#5
0
    <li class="active">
        <?php 
echo BackendTranslate::getLabel(DELETE);
?>
    </li>
</ol>

<div class="alert alert-danger alert-dismissible" role="alert">
	<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<?php 
echo BackendTranslate::getLabel('info_delete');
?>
</div>

<form action="<?php 
echo Router::generateURL('cockpit/ranking/delete/' . $id);
?>
" method="post" class="form-horizontal">
	<?php 
echo $this->FormField->hidden('id');
?>
    <?php 
echo $this->FormField->hidden('updated');
?>
    <?php 
echo $this->FormField->hidden('updater');
?>
    <?php 
echo $this->FormField->hidden('online');
?>
	<div class="panel panel-danger">
示例#6
0
				<td style="width:23%;" class="text-right">
					<?php 
echo $this->FormLink->add('cockpit/coach/add');
?>
				</td>
			</tr>
			</thead>
			<tbody>
			<?php 
foreach ($Coach as $k => $v) {
    ?>
				<?php 
    echo $v->logical_delete == 1 ? '<tr class="danger">' : '<tr>';
    ?>
					<td style="text-align: center;"><a href="<?php 
    echo Router::generateURL('cockpit/coach/online/' . $v->id);
    ?>
" class="label label-<?php 
    echo $v->online == 1 ? SUCCESS : DANGER;
    ?>
"><?php 
    echo $v->online == 1 ? BackendTranslate::getLabel('yes') : BackendTranslate::getLabel('no');
    ?>
</a></td>
					<td><?php 
    echo truncateStringWords($v->coach, 75);
    ?>
</td>
					<td><?php 
    echo $v->team;
    ?>
示例#7
0
文件: add.php 项目: WebPassions/2015
?>
			</li>
		</ol>
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<?php 
echo $this->Session->getAlert();
?>
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<form action="<?php 
echo Router::generateURL('cockpit/blogtrip/add');
?>
" method="post" class="form-horizontal">
			<?php 
echo $this->FormField->hidden('creation');
echo $this->FormField->hidden('updated');
echo $this->FormField->hidden('updater');
echo $this->FormField->hidden('logical_delete');
?>
		
			<div class="panel panel-info">
				<div class="panel-heading">
					<span class="glyphicon glyphicon-plus"></span> <?php 
echo BackendTranslate::getLabel(ADD);
?>
				</div>
示例#8
0
 public function image($name)
 {
     $value = isset($this->controller->request->data->{$name}) ? stripslashes($this->controller->request->data->{$name}) : EMPTYSTRING;
     $buffer = EMPTYSTRING;
     $buffer .= $this->init($name);
     if (!empty($value)) {
         $buffer .= '<img src="' . Router::generateURL($value) . '" width="130px"/>';
     } else {
         $buffer .= '<input type="text" value="Aucune image de définie" ' . $this->readonly(true) . ' class="form-control">';
     }
     $buffer .= $this->end($name);
     return $buffer;
 }
示例#9
0
$title_for_layout = DashboardTranslate::getLabel('help');
?>

<h1 class="page-header">
	<?php 
echo DashboardTranslate::getLabel('help');
?>
</h1>
<ol class="breadcrumb">
	<li>
		<?php 
echo MenuTranslate::getLabel(PLACE);
?>
		<a href="<?php 
echo Router::generateURL(COCKPIT);
?>
"><?php 
echo MenuTranslate::getLabel(HOME);
?>
</a>
	</li>
	<li class="active">
		<?php 
echo DashboardTranslate::getLabel('list');
?>
	</li>
</ol>

<div class="alert alert-primary alert-dismissible" role="alert">
	<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
示例#10
0
		<ol class="breadcrumb">
			<li>
				<?php 
echo BackendTranslate::getLabel(PLACE);
?>
				<a href="<?php 
echo Router::generateURL(COCKPIT);
?>
"><?php 
echo BackendTranslate::getLabel(HOME);
?>
</a>
			</li>
			<li>
				<a href="<?php 
echo Router::generateURL('cockpit/bloghealth');
?>
"><?php 
echo BackendTranslate::getLabel('bloghealth');
?>
</a>
			</li>
			<li class="active">
				<?php 
echo BackendTranslate::getLabel(LISTING);
?>
			</li>
		</ol>
	</div>
</div>
<div class="row">
示例#11
0
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<div class="alert alert-danger alert-dismissible" role="alert">
			<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			<?php 
echo BackendTranslate::getLabel('info_delete');
?>
		</div>
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<form action="<?php 
echo Router::generateURL('cockpit/blogbeauty/delete/' . $id);
?>
" method="post" class="form-horizontal">
			<?php 
echo $this->FormField->hidden('id');
echo $this->FormField->hidden('updated');
echo $this->FormField->hidden('updater');
echo $this->FormField->hidden('online');
?>
			<div class="panel panel-danger">
				<div class="panel-heading">
					<span class="glyphicon glyphicon-remove"></span> <?php 
echo BackendTranslate::getLabel(DELETE);
?>
				</div>
				<div class="panel-body">
示例#12
0
		<ol class="breadcrumb">
			<li>
				<?php 
echo BackendTranslate::getLabel(PLACE);
?>
				<a href="<?php 
echo Router::generateURL(COCKPIT);
?>
"><?php 
echo BackendTranslate::getLabel(HOME);
?>
</a>
			</li>
			<li>
				<a href="<?php 
echo Router::generateURL('cockpit/blogcat');
?>
"><?php 
echo BackendTranslate::getLabel('blog_category');
?>
</a>
			</li>
			<li class="active">
				<?php 
echo BackendTranslate::getLabel(DELETE);
?>
			</li>
		</ol>
	</div>
</div>
<div class="row">
示例#13
0
文件: add.php 项目: WebPassions/2015
?>
			</li>
		</ol>
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<?php 
echo $this->Session->getAlert();
?>
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<form action="<?php 
echo Router::generateURL('cockpit/portfoliocat/add');
?>
" method="post" class="form-horizontal">
			<?php 
echo $this->FormField->hidden('creation');
echo $this->FormField->hidden('updated');
echo $this->FormField->hidden('updater');
echo $this->FormField->hidden('logical_delete');
?>
			<div class="panel panel-info">
				<div class="panel-heading">
					<span class="glyphicon glyphicon-plus"></span> <?php 
echo BackendTranslate::getLabel(ADD);
?>
				</div>
				<div class="panel-body">
示例#14
0
				<td style="width:23%;" class="text-right">
					<?php 
echo $this->FormLink->add('cockpit/urgency/add');
?>
				</td>
			</tr>
			</thead>
			<tbody>
			<?php 
foreach ($Urgency as $k => $v) {
    ?>
				<?php 
    echo $v->logicaldelete == 1 ? '<tr class="danger">' : '<tr>';
    ?>
					<td style="text-align: center;"><a href="<?php 
    echo Router::generateURL('cockpit/urgency/online/' . $v->id);
    ?>
" class="label label-<?php 
    echo $v->online == 1 ? SUCCESS : DANGER;
    ?>
"><?php 
    echo $v->online == 1 ? ButtonsTranslate::getLabel('yes') : ButtonsTranslate::getLabel('no');
    ?>
</a></td>
					<td><?php 
    echo $v->name;
    ?>
</td>
					<td><?php 
    echo $v->phone;
    ?>
示例#15
0
    <li class="active">
        <?php 
echo UserTranslate::getLabel(DELETE);
?>
    </li>
</ol>

<div class="alert alert-danger alert-dismissible" role="alert">
	<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<?php 
echo UserTranslate::getLabel('infodel');
?>
</div>

<form action="<?php 
echo Router::generateURL('cockpit/user/delete/' . $id);
?>
" method="post" class="form-horizontal">
	<?php 
echo $this->FormField->hidden('id');
?>
    <?php 
echo $this->FormField->hidden('updated');
?>
    <?php 
echo $this->FormField->hidden('updater');
?>
	<div class="panel panel-danger">
		<div class="panel-heading">
			<h3 class="panel-title"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> <?php 
echo UserTranslate::getLabel(DELETE);
示例#16
0
				<td style="width:23%;" class="text-right">
					<?php 
echo $this->FormLink->add('cockpit/blogcat/add');
?>
				</td>
			</tr>
			</thead>
			<tbody>
			<?php 
foreach ($Blogcat as $k => $v) {
    ?>
				<?php 
    echo $v->logical_delete == 1 ? '<tr class="danger">' : '<tr>';
    ?>
					<td style="text-align: center;"><a href="<?php 
    echo Router::generateURL('cockpit/blogcat/online/' . $v->id);
    ?>
" class="label label-<?php 
    echo $v->online == 1 ? SUCCESS : DANGER;
    ?>
"><?php 
    echo $v->online == 1 ? BackendTranslate::getLabel('yes') : BackendTranslate::getLabel('no');
    ?>
</a></td>
					<td><?php 
    echo $v->category;
    ?>
</td>
					<td class="text-right">
						<?php 
    echo $this->FormLink->consult('cockpit/blogcat/consult/' . $v->id);
示例#17
0
<div class="row">
	<div class="col-lg-12">
		<h1><?php 
echo FrontendTranslate::getLabel('contact');
?>
</h1>
	</div>
</div>

<div class="row">
	<div class="col-lg-6">
		<form role="form" action="<?php 
echo Router::generateURL('page/contact_form');
?>
" method="post">	
			<div class="form-group">
				<div class="input-group">
					<input type="text" class="form-control" placeholder="Les champs requis se terminent par" required disabled>
					<span class="input-group-addon"><span class="glyphicon glyphicon-check"></span></span>
				</div>
			</div>
			<div class="form-group">
				<label for="InputName"><?php 
echo FrontendTranslate::getLabel('name');
?>
</label>
				<div class="input-group">
					<input type="text" class="form-control" name="InputName" id="InputName" placeholder="<?php 
echo FrontendTranslate::getLabel('name_required');
?>
" required>
示例#18
0
文件: add.php 项目: WebPassions/2015
?>
</a>
	</li>
	<li class="active">
		<?php 
echo EmployeTranslate::getLabel(ADD);
?>
	</li>
</ol>

<?php 
echo $this->Session->getAlert();
?>

<form action="<?php 
echo Router::generateURL('cockpit/employe/add');
?>
" method="post" class="form-horizontal">
	<?php 
echo $this->FormField->hidden('creation');
?>
	<?php 
echo $this->FormField->hidden('updated');
?>
	<?php 
echo $this->FormField->hidden('updater');
?>
	<?php 
echo $this->FormField->hidden('logicaldelete');
?>
示例#19
0
    }
    ?>
					<?php 
    $i++;
}
?>
					<?php 
$i = 1;
foreach ($rankingDame as $t) {
    ?>
						<?php 
    if ($t->teamname == "US Thy") {
        ?>
							<tr>
								<td><a href="<?php 
        echo Router::generateURL('ranking/listing/2');
        ?>
"><?php 
        echo $t->team;
        ?>
</a></td>
								<td class="text-center"><?php 
        echo $i;
        ?>
</td>
								<td class="text-center"><?php 
        echo $t->point;
        ?>
</td>
								<td class="text-center"><?php 
        echo $t->goal_pos;
示例#20
0
<ol class="breadcrumb">
	<li>
		<?php 
echo BackendTranslate::getLabel(PLACE);
?>
		<a href="<?php 
echo Router::generateURL(COCKPIT);
?>
"><?php 
echo BackendTranslate::getLabel(HOME);
?>
</a>
	</li>
	<li>
		<a href="<?php 
echo Router::generateURL('cockpit/ranking');
?>
"><?php 
echo $title_for_layout;
?>
</a>
	</li>
	<li class="active">
		<?php 
echo BackendTranslate::getLabel(CONSULT);
?>
	</li>
</ol>

<form action="" method="post" class="form-horizontal">
	<?php 
示例#21
0
    <li class="active">
        <?php 
echo BackendTranslate::getLabel(DELETE);
?>
    </li>
</ol>

<div class="alert alert-danger alert-dismissible" role="alert">
	<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<?php 
echo BackendTranslate::getLabel('info_delete');
?>
</div>

<form action="<?php 
echo Router::generateURL('cockpit/comitte/delete/' . $id);
?>
" method="post" class="form-horizontal">
    <?php 
echo $this->FormField->hidden('id');
?>
    <?php 
echo $this->FormField->hidden('updated');
?>
    <?php 
echo $this->FormField->hidden('updater');
?>
    <?php 
echo $this->FormField->hidden('online');
?>
	<div class="panel panel-danger">
示例#22
0
" alt="Portfolio-image">
						 </div>
					</div>
					<?php 
    }
    ?>
	
					<div class="col-md-12">
						<div class="news-dsc">
							<?php 
    echo stripcslashes($v->introduction);
    ?>
										 
						</div>
						<a href="<?php 
    echo Router::generateURL('blog/view/id:' . $v->id . '/slug:' . $v->slug);
    ?>
" class="btn btn-custom pull-right"><?php 
    echo FrontendTranslate::getLabel('more');
    ?>
</a>
					</div>
				</div>
				<?php 
}
?>
						
			</div>
		</div>
	</section>				
</div>
示例#23
0
		<ol class="breadcrumb">
			<li>
				<?php 
echo BackendTranslate::getLabel(PLACE);
?>
				<a href="<?php 
echo Router::generateURL(COCKPIT);
?>
"><?php 
echo BackendTranslate::getLabel(HOME);
?>
</a>
			</li>
			<li>
				<a href="<?php 
echo Router::generateURL('cockpit/portfolio');
?>
"><?php 
echo BackendTranslate::getLabel('portfolio');
?>
</a>
			</li>
			<li class="active">
				<?php 
echo BackendTranslate::getLabel(LISTING);
?>
			</li>
		</ol>
	</div>
</div>
<div class="row">
示例#24
0
        echo MenuTranslate::getLabel($module);
        ?>
                                    </a>
                                </li>
                            <?php 
    }
    ?>
                        <?php 
}
?>
                        <?php 
foreach ($pagesMenu as $p) {
    ?>
                            <li>
                                <a href="<?php 
    echo Router::generateURL('page/view/id:' . $p->id . '/slug:' . $p->slug);
    ?>
" title="<?php 
    echo $p->name;
    ?>
">
                                    <?php 
    echo $p->name;
    ?>
                                </a>
                            </li>
                        <?php 
}
?>
                    </ul>
                </div>
示例#25
0
?>
</a>
	</li>
	<li class="active">
		<?php 
echo BackendTranslate::getLabel('change_password');
?>
	</li>
</ol>

<?php 
echo $this->Session->getAlert();
?>

<form action="<?php 
echo Router::generateURL('cockpit/user/changePasswordIn');
?>
" method="post" class="form-horizontal">
	<div class="panel panel-warning">
		<div class="panel-heading">
			<h3 class="panel-title"><i class="fa fa-edit"></i> <?php 
echo BackendTranslate::getLabel('change_password');
?>
</h3>
		</div>
		<div class="panel-body">
			<?php 
echo $this->FormField->password('new_password', false, 'form-control');
?>
			<?php 
echo $this->FormField->password('verify', false, 'form-control');
示例#26
0
 public function image($name)
 {
     $value = isset($this->controller->request->data->{$name}) ? stripslashes($this->controller->request->data->{$name}) : EMPTYSTRING;
     $buffer = EMPTYSTRING;
     if (!empty($value)) {
         $buffer .= $this->init($name);
         $buffer .= '<a class="img-thumbnail iframe-btn" href="' . Router::generateURL($value) . '">';
         $buffer .= '<img src="' . Router::generateURL($value) . '" width="130px"/>';
         $buffer .= '</a>';
         $buffer .= $this->end();
     }
     return $buffer;
 }
示例#27
0
				<td style="width:23%;" class="text-right">
					<?php 
echo $this->FormLink->add('cockpit/ranking/add');
?>
				</td>
			</tr>
			</thead>
			<tbody>
			<?php 
foreach ($Ranking as $k => $v) {
    ?>
				<?php 
    echo $v->logical_delete == 1 ? '<tr class="danger">' : '<tr>';
    ?>
					<td style="text-align: center;"><a href="<?php 
    echo Router::generateURL('cockpit/ranking/online/' . $v->id);
    ?>
" class="label label-<?php 
    echo $v->online == 1 ? SUCCESS : DANGER;
    ?>
"><?php 
    echo $v->online == 1 ? BackendTranslate::getLabel('yes') : BackendTranslate::getLabel('no');
    ?>
</a></td>
					<td><?php 
    echo $v->team;
    ?>
</td>
					<td><?php 
    echo truncateStringWords($v->teamname, 75);
    ?>
示例#28
0
				<td style="width:23%;" class="text-right">
					<?php 
echo $this->FormLink->add('cockpit/slider/add');
?>
				</td>
			</tr>
			</thead>
			<tbody>
			<?php 
foreach ($Slider as $k => $v) {
    ?>
				<?php 
    echo $v->logical_delete == 1 ? '<tr class="danger">' : '<tr>';
    ?>
					<td style="text-align: center;"><a href="<?php 
    echo Router::generateURL('cockpit/slider/online/' . $v->id);
    ?>
" class="label label-<?php 
    echo $v->online == 1 ? SUCCESS : DANGER;
    ?>
"><?php 
    echo $v->online == 1 ? BackendTranslate::getLabel('yes') : BackendTranslate::getLabel('no');
    ?>
</a></td>
					<td><?php 
    echo dateConvert($v->publication);
    ?>
</td>
					<td><?php 
    echo truncateStringWords($v->name, 75);
    ?>
示例#29
0
文件: edit.php 项目: WebPassions/2015
?>
</a>
	</li>
	<li class="active">
		<?php 
echo TipTranslate::getLabel(UPDATE);
?>
	</li>
</ol>

<?php 
echo $this->Session->getAlert();
?>

<form action="<?php 
echo Router::generateURL('cockpit/tip/edit/' . $id);
?>
" method="post" class="form-horizontal">
	<?php 
echo $this->FormField->hidden('id');
?>
	<?php 
echo $this->FormField->hidden('updated');
?>
	<?php 
echo $this->FormField->hidden('updater');
?>
	<?php 
echo $this->FormField->hidden('logicaldelete');
?>
	<div class="panel panel-warning">
示例#30
0
    <li class="active">
        <?php 
echo BackendTranslate::getLabel(DELETE);
?>
    </li>
</ol>

<div class="alert alert-danger alert-dismissible" role="alert">
	<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<?php 
echo BackendTranslate::getLabel('info_delete');
?>
</div>

<form action="<?php 
echo Router::generateURL('cockpit/propertycat/delete/' . $id);
?>
" method="post" class="form-horizontal">
    <?php 
echo $this->FormField->hidden('id');
?>
    <?php 
echo $this->FormField->hidden('updated');
?>
    <?php 
echo $this->FormField->hidden('updater');
?>
    <?php 
echo $this->FormField->hidden('online');
?>
	<div class="panel panel-danger">