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


PHP secho函数代码示例

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


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

示例1: internalIncs

<?php

$incs = new internalIncs();
$incs->head('Accueil');
$this->headerAdmin();
?>
	<div class="section admin-section">
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<h2 class="section-title">Confirmer suppression</h2>
				</div>
				<div class="col-lg-12">
					Voulez vous vraiment supprimer cette ligne ?
					<div class="clearfix"></div>
					<a class="btn btn-danger col-xs-5" href="<?php 
secho($this->generateUrl('admin', 'liste', array($table)));
?>
" >Non</a>
					<a class="btn btn-success col-xs-5 col-xs-offset-2" href="<?php 
secho($this->generateUrl('admin', 'confirmDelete', array($table, $id, $_SESSION['csrf'])));
?>
" >Oui</a>
				</div>
			</div> <!-- /.row -->
		</div> <!-- /.container -->
	</div> <!-- /.section -->
<?php 
$incs->footer();
开发者ID:OsaAjani,项目名称:soap-project,代码行数:29,代码来源:delete.php

示例2: array

									</div>
								<?php 
}
?>
								<ul class="pager">
									<?php 
if ($page) {
    ?>
											<li><a href="<?php 
    echo $this->generateUrl('events', 'showAll', array('page' => $page - 1));
    ?>
"><span aria-hidden="true">&larr;</span> Précèdents</a></li>
										<?php 
}
$numero_page = 'Page : ' . ($page + 1);
secho($numero_page);
if ($limit == $nbResults) {
    ?>
											<li><a href="<?php 
    echo $this->generateUrl('events', 'showAll', array('page' => $page + 1));
    ?>
">Suivants <span aria-hidden="true">&rarr;</span></a></li>
										<?php 
}
?>
								</ul>
							</nav>
						</div>
					</div>
				</div>
			</div>
开发者ID:assistechnologie,项目名称:RaspiSMS,代码行数:31,代码来源:showAll.php

示例3: secho

    ?>
					<tr>
						<td><?php 
    secho($intervention['path']['truck']['matriculation']);
    ?>
</td>
						<td><?php 
    secho($intervention['path']['driver']['name']);
    ?>
</td>
						<td><?php 
    secho($intervention['path']['position'] ? $intervention['path']['position']['latitude'] . '/' . $intervention['path']['position']['longitude'] : 'Inconnue');
    ?>
</td>
						<td><?php 
    secho($intervention['repairer']['name']);
    ?>
</td>
						<td><?php 
    echo internalTools::getIconForInterventionStatus($intervention['status']);
    ?>
</td>
					</tr>
				<?php 
}
?>
			</table>
		</div>
	</div>
</div>
开发者ID:OsaAjani,项目名称:soap-project,代码行数:30,代码来源:currentInterventions.php

示例4: foreach

										</tr>
									</thead>
									<tbody>
									<?php 
foreach ($discussions as $discussion) {
    ?>
												<tr class="goto" url="<?php 
    secho($this->generateUrl('discussions', 'show', [$discussion['number']]));
    ?>
">
												<td><?php 
    secho($discussion['at']);
    ?>
</td>
												<td><?php 
    secho(isset($discussion['contact']) ? $discussion['contact'] . ' (' . $discussion['number'] . ')' : $discussion['number']);
    ?>
</td>
											</tr>
											<?php 
}
?>
									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
开发者ID:assistechnologie,项目名称:RaspiSMS,代码行数:31,代码来源:default.php

示例5: foreach

					<th>Status</th>
				</tr>
				<?php 
foreach ($paths as $path) {
    ?>
					<tr>
						<td><?php 
    secho($path['truck']['matriculation']);
    ?>
</td>
						<td><?php 
    secho($path['driver']['name']);
    ?>
</td>
						<td><?php 
    secho($path['position'] ? $path['position']['latitude'] . '/' . $path['position']['longitude'] : 'Inconnue');
    ?>
</td>
						<td><?php 
    echo internalTools::getIconForPathStatus($path['status']);
    ?>
</td>
					</tr>
				<?php 
}
?>
			</table>
		</div>
	</div>
</div>
开发者ID:OsaAjani,项目名称:soap-project,代码行数:30,代码来源:runningTrucks.php

示例6: foreach

<ol class="breadcrumb">
	<?php 
foreach ($fils as $nom => $url) {
    if ($url) {
        ?>
				<li><a href="<?php 
        secho($url);
        ?>
"><?php 
        secho($nom);
        ?>
</a></li>
			<?php 
    } else {
        ?>
				<li class="active"><?php 
        secho($nom);
        ?>
</li>
			<?php 
    }
}
?>
</ol>
开发者ID:OsaAjani,项目名称:clash-of-startup,代码行数:24,代码来源:ariane.php

示例7: foreach

										<?php 
}
?>
									<th>Action</th>
								</tr>
							</thead>
							<tbody>
								<?php 
foreach ($lignes as $ligne) {
    ?>
										<tr>
											<?php 
    foreach ($ligne as $nom => $value) {
        ?>
													<td><?php 
        secho($value);
        ?>
</td>
												<?php 
    }
    ?>
											<td>
												<div class="btn-group action-dropdown" target="#table-commands">
													<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Action pour la sélection <span class="caret"></span></button>
													<ul class="dropdown-menu pull-right" role="menu">
														<li><a href="<?php 
    echo $this->generateUrl('admin', 'edit', array($table, $ligne['id']));
    ?>
"><span class="fa fa-edit"></span> Modifier</a></li>
														<li><a href="<?php 
    echo $this->generateUrl('admin', 'deleteLigne', array($table, $ligne['id']));
开发者ID:OsaAjani,项目名称:soap-project,代码行数:31,代码来源:liste.php

示例8: secho

secho(WEBSITE_TITLE);
?>
</a>
		</div>

		<div class="collapse navbar-collapse navbar-ex1-collapse">
			<ul class="nav navbar-nav navbar-right">
				<?php 
foreach ($tables as $table) {
    ?>
					<li class="dropdown <?php 
    echo $currentPage == $table ? 'active' : '';
    ?>
">
						<a class="dropdown-toggle" data-hover="dropdown" data-toggle="dropdown" href="#"><?php 
    secho($table);
    ?>
 <i class="fa fa-angle-down"></i></a>

						<ul class="dropdown-menu">
							<li>
								<a href="<?php 
    echo $this->generateUrl('admin', 'liste', array($table));
    ?>
">Liste</a>
							</li>
							<li>
								<a href="<?php 
    echo $this->generateUrl('admin', 'add', array($table));
    ?>
">Ajouter</a>
开发者ID:OsaAjani,项目名称:soap-project,代码行数:31,代码来源:header.php

示例9: secho

            echo $type;
            ?>
" name="<?php 
            secho($nom);
            ?>
" class="form-control" id="<?php 
            secho($nom);
            ?>
" <?php 
            echo !$field['NULL'] && !$field['HAS_DEFAULT'] ? 'required' : '';
            ?>
 <?php 
            echo $pattern ? 'pattern="' . $pattern . '"' : '';
            ?>
 value="<?php 
            secho($ligne[$nom]);
            ?>
" />
										<?php 
        }
        ?>
									<?php 
    }
    ?>
								</div>
							<?php 
}
?>
						<div class="form-group col-lg-12">
							<button type="submit" class="btn btn-primary pull-right col-xs-12">Modifier</button>
							<div class="clearfix"></div>
开发者ID:OsaAjani,项目名称:soap-project,代码行数:31,代码来源:edit.php

示例10: secho

    echo $by == 'profitability' ? 'active' : '';
    ?>
">
				<span class="value"><?php 
    secho($startup['profitability']);
    ?>
</span> <span class="logo fa fa-line-chart"></span>
			</div></div><div class="startup-stat-container"><div class="startup-stat carre line-height <?php 
    echo $by == 'feasibility' ? 'active' : '';
    ?>
">
				<span class="value"><?php 
    secho($startup['feasibility']);
    ?>
</span> <span class="logo fa fa-check"></span>
			</div></div><div class="startup-stat-container"><div class="startup-stat carre line-height <?php 
    echo $by == 'budget' ? 'active' : '';
    ?>
">
				<span class="value"><?php 
    secho($startup['budget']);
    ?>
</span> <span class="logo fa fa-usd"></span>
			</div>
		</div>
	</div>
	</div>
	<div class="clearfix"></div>
	<hr>
<?php 
}
开发者ID:OsaAjani,项目名称:clash-of-startup,代码行数:31,代码来源:order.php

示例11: secho

</a></li>
			<?php 
}
?>
	<li class="active"><a href="#"><?php 
secho($pagination['current']);
?>
</a></li>
	<?php 
foreach ($pagination['after'] as $pagi) {
    ?>
			<li><a href="<?php 
    secho($pagi['url']);
    ?>
"><?php 
    secho($pagi['nb']);
    ?>
</a></li>
			<?php 
}
if (!empty($pagination['last'])) {
    ?>
			<li><a href="<?php 
    secho($pagination['last']);
    ?>
"><i class="fa fa-angle-double-right"></i></a></li>
		<?php 
}
?>
</ul>
开发者ID:OsaAjani,项目名称:soap-project,代码行数:30,代码来源:pagination.php

示例12: secho

			<div class="row">
				<div class="col-lg-12">
					<div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title"><i class="fa fa-user fa-fw"></i> Mon profil</h3>
						</div>
						<div class="panel-body">
							<div class="col-xs-12 col-md-6">
								<div class="panel panel-default">
									<div class="panel-heading">
										<h4 class="panel-title"><i class="fa fa-child fa-fw"></i> Mes données</h4>
									</div>
									<div class="panel-body">
										<strong>Adresse e-mail :</strong> <?php 
secho($_SESSION['email']);
?>
<br/>
										<strong>Niveau administrateur :</strong> <?php 
echo $_SESSION['admin'] ? 'Oui' : 'Non';
?>
<br/>
									</div>
								</div>
								<div class="panel panel-default">
									<div class="panel-heading">
										<h4 class="panel-title"><i class="fa fa-key fa-fw"></i> Modifier mot de passe</h4>
									</div>
									<div class="panel-body">
										<form action="<?php 
echo $this->generateUrl('profile', 'changePassword', [$_SESSION['csrf']]);
开发者ID:assistechnologie,项目名称:RaspiSMS,代码行数:30,代码来源:default.php

示例13: secho

		</button>
		<a class="navbar-brand" href="<?php 
echo $this->generateUrl();
?>
"><?php 
secho(WEBSITE_TITLE);
?>
</a>
	</div>
	<div class="navbar-collapse collapse navbar-inverse-collapse">
		<ul class="nav navbar-nav navbar-right">
		<?php 
foreach ($pages as $name => $url) {
    ?>
				<li <?php 
    echo mb_strtoupper($actual_page) == mb_strtoupper($name) ? 'class="active"' : '';
    ?>
 ><a href="<?php 
    secho($url);
    ?>
"><?php 
    secho($name);
    ?>
</a></li>	
			<?php 
}
?>
		</ul>
	</div>
</div>
开发者ID:OsaAjani,项目名称:soap-project,代码行数:30,代码来源:header.php

示例14: secho

											<input name="groups[<?php 
    secho($group['id']);
    ?>
][name]" class="form-control" type="text" placeholder="Nom groupe" autofocus required value="<?php 
    secho($group['name']);
    ?>
">
										</div>
									</div>	
									<div class="form-group">
										<label>Contacts du groupe</label>
										<input class="add-contacts form-control" name="groups[<?php 
    secho($group['id']);
    ?>
][contacts][]" value="<?php 
    secho($contacts);
    ?>
"/>
									</div>
									<hr/>
									<?php 
}
?>
								<a class="btn btn-danger" href="<?php 
echo $this->generateUrl('groups');
?>
">Annuler</a>
								<input type="submit" class="btn btn-success" value="Enregistrer le contact" /> 	
							</form>
						</div>
					</div>
开发者ID:assistechnologie,项目名称:RaspiSMS,代码行数:31,代码来源:edit.php

示例15: foreach

	<div class="col-lg-12">
		<h3 class="page-header">Décrouvrez Charlie Hebdo sous une autre forme</h3>
	</div>
	<?php 
foreach ($livres as $livre) {
    ?>
			<div class="col-sm-3 col-xs-6">
				<a rel="nofollow" target="_blank" href="<?php 
    secho($livre['url']);
    ?>
" class="link-portfolio">
					<div class="overlay-portfolio">
						<h3><?php 
    secho(ucfirst($livre['nom']));
    ?>
</h3>
					</div> <!-- /.overlay-portfolio -->
					<img class="img-responsive img-customer" src="<?php 
    secho(HTTP_PWD_IMG . 'livres-sources/' . $livre['nom']);
    ?>
.jpg" alt="<?php 
    secho($livre['nom']);
    ?>
">
				</a>
			</div>
			<?php 
}
?>
</div>
开发者ID:OsaAjani,项目名称:clash-of-startup,代码行数:30,代码来源:livres.php


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