本文整理汇总了PHP中topRight函数的典型用法代码示例。如果您正苦于以下问题:PHP topRight函数的具体用法?PHP topRight怎么用?PHP topRight使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了topRight函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: head
<?php
require "funcz/functionz.php";
print head("en", "Sitemap");
?>
<body>
<div id="wrapper">
<div id="sidebar-wrapper">
<?php
print menu("en", "Sitemap");
?>
</div>
<div id="page-content-wrapper">
<div class="container-fluid"><?php
topRight();
?>
<div class="row">
<div class="col-lg-12">
<h2 align="center">Sitemap</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12"> <ul>
<li><a href="index_e.php" title="homepage">Homepage</a></li>
<li><a href="program_e.php" title="Program">Programme</a></li>
<li><a href="repertoire_e.php" title="Repertoire">Repertoire</a> </li>
<li><a href="teaching_e.php" title="teaching & accompanying"> Teaching</a>
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:sitemap_e.php
示例2: head
<?php
require "funcz/functionz.php";
print head("ch", "链接");
?>
<body>
<div id="wrapper">
<div id="sidebar-wrapper">
<?php
print menu("ch", "链接", "links_e.php", "links.php", "links_ch.php");
?>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<?php
topRight("links_e.php", "links.php", "links_ch.php");
?>
<div class="row rowBorder">
<div class="col-lg-12">
<h2>链接</h2>
</div>
</div>
<?php
alink("alexandertechnique.png", "Alexander Technique", "http://www.alexandertechnique.com/");
alink("wikipedia_ch.png", "Alexander Technique (Wikipedia)", "https://zh.wikipedia.org/wiki/%E4%BA%9E%E6%AD%B7%E5%B1%B1%E5%A4%A7%E6%8A%80%E5%B7%A7");
alink("abrsm.jpg", "Associated Board of the Royal Schools of Music (ABRSM)-Examinations", "http://cn.abrsm.org/en/home");
alink("eltzalmuseum.gif", "Elztal Museum, Waldkirch", "http://www.elztalmuseum.de/");
alink("epta.png", "European Piano Teachers Association", "http://epta-europe.org");
alink("klappe11.jpg", "Klappe 11 Cinema and Arts Festival,Waldkirch", "http://www.klappe11.de/");
alink("musicschulewaldkirch.jpg", "Waldkirch Music School", "http://www.fv-musikschule-waldkirch.de/");
alink("pf.png", "Peter Feuchtwanger - Pianist, Composer, Padagogue", "http://www.peter-feuchtwanger.de/");
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:links_ch.php
示例3: search
function search($s, $lan)
{
$pgfound = "";
$aCount = 0;
$aBestPgTxt = "";
$aBestPgPtr = "";
$aFound = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
switch ($lan) {
case "de":
$aPgURL = array('index.php', 'program.php', 'repertoire.php', 'teaching.php', 'kinder.php', 'meisterkurse.php', 'concert.php', 'video.php', 'presse.php', 'foto.php', 'bilde.php', 'bio.php', 'links.php', 'kontakt.php');
$aPgTitle = array('Homepage', 'Program', 'Repertoire', 'Untericht', 'Kinder', 'Meisterkurs', 'Konzerte', 'Video', 'Presse', 'Fotos', 'Shizzen', 'Biographie', 'Links', 'Kontakt');
$searchTitle = "Suche";
$notFound = "nicht gefunden";
$searchResults = "Suchergebnisse für";
break;
case "ch":
$aPgURL = array('index_ch.php', 'program_ch.php', 'repertoire_ch.php', 'teaching_ch.php', 'meisterkurse_ch.php', 'concert_ch.php', 'video_ch.php', 'presse_ch.php', 'foto_ch.php', 'bilde_ch.php', 'bio_ch.php', 'links_ch.php', 'kontakt_ch.php');
$aPgTitle = array('Homepage', 'Program', 'Repertoire', 'Untericht', 'Masterclass', 'Concerts', 'Video', 'Press', 'Photos', 'Sketches', 'Biography', 'Links', 'Contact');
$searchTitle = "搜";
$notFound = "未找到";
$searchResults = "搜索结果 ";
break;
default:
$aPgURL = array('index_e.php', 'program_e.php', 'repertoire_e.php', 'teaching_e.php', 'meisterkurse_e.php', 'concert_e.php', 'video_e.php', 'presse_e.php', 'foto_e.php', 'bilde_e.php', 'bio_e.php', 'links_e.php', 'kontakt_e.php');
$aPgTitle = array('Homepage', 'Programme', 'Repertoire', 'Teaching', 'Masterclass', 'Concerts', 'Video', 'Press', 'Fotos', 'Sketches', 'Biography', 'Links', 'Contact');
$searchTitle = "Search";
$notFound = "not found";
$searchResults = "Search results for";
}
for ($i = 0; $i < count($aPgTitle); $i++) {
$url = $aPgURL[$i];
$pgtxt = curl_download("cuthbertson.de/" . $url);
$startPos = strpos($pgtxt, "<body>");
$pgtxt = substr($pgtxt, $startPos);
$pos = stripos(strtoupper($pgtxt), strtoupper($s));
if ($pos != false) {
$aCount++;
$aFound[$i] = 1;
$aBestPgTxt = $pgtxt;
$aBestPgPtr = $i;
}
}
switch ($aCount) {
case 0:
print head($lan, $searchTitle, "index.php");
?>
<body>
<div id="wrapper">
<div id="sidebar-wrapper">
<?php
print menu($lan, $searchTitle);
?>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<?php
topRight();
?>
<div class="row">
<div class="col-lg-12">
<h2><?php
print $searchTitle;
?>
</h2>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<?php
print "<br/>" . $s . " " . $notFound;
?>
</div>
</div>
</div>
</div>
</div>
</div> <!-- /#page-content-wrapper -->
</div> <!-- /#wrapper -->
</body>
</html>
<?php
break;
case 1:
print $aBestPgTxt;
break;
default:
print head($lan, $searchTitle, "search.php");
?>
<body>
<div id="wrapper">
<div id="sidebar-wrapper">
<?php
print menu($lan, $searchTitle);
?>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<?php
topRight();
//.........这里部分代码省略.........
开发者ID:guylancaster999,项目名称:william2016,代码行数:101,代码来源:search.php
示例4: head
<?php
require "funcz/functionz.php";
print head("de", "Program");
?>
<body>
<div id="wrapper">
<div id="sidebar-wrapper">
<?php
print menu("de", "Program", "program_e.php", "program.php", "program_ch.php");
?>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<?php
topRight("program_e.php", "program.php", "program_ch.php");
?>
<div class="row">
<div class="col-lg-12">
<h2>Program</h2>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-12 col-sm-12 year">2017</div>
</div>
<div class="row">
<div class="col-lg-8 col-8 col-sm-8">
<b>Program 1</b>
<table class="tbl">
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:program.php
示例5: head
<?php
require "funcz/functionz.php";
print head("en", "Sketches");
?>
<body>
<div id="wrapper">
<div id="sidebar-wrapper">
<?php
print menu("en", "Sketches");
?>
</div>
<div id="page-content-wrapper">
<div class="container-fluid">
<?php
topRight("bilde_e.php", "bilde.php", "bilde_ch.php");
?>
<div class="row">
<div class="col-lg-12">
<h2 >Sketches – by Gosia Kulczyk</h2>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<table class="table">
<tr>
<td><?php
photo("1.png", "1_tn.png", "Sketches520by%20Gosia%20Kulczyk", "Sketch%201", "bilde_e.php", "en");
?>
</td>
<td><?php
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:bilde_e.php
注:本文中的topRight函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论