本文整理汇总了PHP中Routes::getDestinationCities方法的典型用法代码示例。如果您正苦于以下问题:PHP Routes::getDestinationCities方法的具体用法?PHP Routes::getDestinationCities怎么用?PHP Routes::getDestinationCities使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Routes
的用法示例。
在下文中一共展示了Routes::getDestinationCities方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Routes
<?php
include 'manager/routes.php';
$routes = new Routes();
$sourceCities = $routes->getSourceCities();
$destinationCities = $routes->getDestinationCities();
session_start();
if (isset($_SESSION['loggedin'])) {
$login = true;
} else {
$login = false;
}
if (isset($_SESSION['wrongInfo'])) {
if ($_SESSION['wrongInfo'] == true) {
$wrongInfo = true;
} else {
$wrongInfo = false;
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>NOPM | Autobuses de la Mayab</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://bootswatch.com/yeti/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>