• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP endPage函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: foot

					, where practice rooms are also available. 
					The Waldkirch Music School is the oldest municipal music school in Germany.
					Click <a href="https://www.google.co.uk/maps/@48.0939927,7.9565182,17z" target="_blank">here</a> for a google map.
					<br />
					<br /> 
					</li>
					<li>Please email <a href="mailto:[email protected]">[email protected]</a> with any questions.
				<br/>
				<br/>
				</li>
				<li>Click <a href="doc/English%20Brochure%20with%20pics%202016.pdf" title="masterclass 2016 brochure English">here</a> for 2016 brochure
				and <a href="doc/EnglishBrochure2016.pdf" title="English 2016 Masterclass Application Form" >here</a> for 2016 application form.
				<br>
				<br>
				</li>
				<li>Click <a href="masterclasses15_e.php">here</a> to view details of the 2015 Masterclass.
				</li>
			</ul>
				<?php 
print foot();
?>
               </div>
             </div>
          </div>
      </div>        <!-- /#page-content-wrapper -->
  </div>    <!-- /#wrapper -->
 	<?php 
print endPage();
?>
	</body>
</html>
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:masterclasses_e.php


示例2: startPage

<?php

/** ===============================================
 * 2010&copy;SisoPipo.com
 * Website Project
 * 
 * @author Geln Yang
 * @version 1.0
 ==================================================== */
require_once '_initialization_companyinfo.php';
startPage('Add Company Info');
loadModuleCSS('css/companyinfo.css');
showAppLinks();
showCompanyInputForm(null);
endPage();
开发者ID:warunap,项目名称:haaprojects,代码行数:15,代码来源:addcompany.php


示例3: endPage

            }
        }
    }
    //if audio
} else {
    //convert id
    $target = $checker->convert($obj->id, $index);
    if ($videoconv) {
        //if video
        if ($checker->fileOK($target)) {
            if ($jingle) {
                $obj->setJingle($target);
            } else {
                $obj->setAudio($target);
            }
        } else {
            $file_errors++;
        }
    } else {
        //if audio
        if ($jingle) {
            $obj->setJingle($target);
        } else {
            $obj->setAudio($target);
        }
    }
    //if audio
}
//convert id
endPage($file_errors);
开发者ID:BackupTheBerlios,项目名称:sotf-svn,代码行数:30,代码来源:convert.php


示例4: elseif

}
if (strlen($subject) < 2) {
    $er .= " *Subject-Required*";
}
if (strlen($message) == 0) {
    $er .= " *Message-Required* ";
} elseif (strlen($message) < 5) {
    $er .= " *Longer Message Required* ";
}
if (count_digits($phone) < 7) {
    $er .= " *Valid-Phone-number-Required* ";
}
if (strlen($er) > 0) {
    $link = 'Location: kontakt_e.php';
    $link .= "?error=Error-" . $er;
    $link .= "&sname=" . $sname;
    $link .= "&subject=" . $subject;
    $link .= "&email=" . $email;
    $link .= "&phone=" . $phone;
    $link .= "&message=" . $message;
    header($link);
    exit;
}
$message = "<html>\n<head>\n<title>William Cuthbertson Email</title>\n</head>\n<body>\n<table>\n<tr><td>From&nbsp;&nbsp;</td><td>: " . $sname . "</td></tr>\n<tr><td>Email&nbsp;</td><td>: " . $email . "</td></tr>\n<tr><td>Phone&nbsp;</td><td>: " . $phone . "</td></tr>\n<tr><td>Message&nbsp;</td><td>: " . $message . "</td></tr>\n</table>" . endPage() . "</body>\n</html>";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= 'From: <[email protected]>' . "\r\n";
mail("[email protected]", $subject, $message, $headers);
mail("[email protected]", $subject, $message, $headers);
header('Location: kontakt_ty_e.php');
exit;
开发者ID:guylancaster999,项目名称:william2016,代码行数:31,代码来源:do_contact_e.php


示例5: catch

         $apip->update();
     } catch (QueryFailedException $e) {
         endPage("Couldn't save :(");
     }
     echo '<p>Saved profile <b>' . $apip->name . '</b><br />';
     $privkey = openssl_pkey_get_private($apip->priv_pem);
     $details = openssl_pkey_get_details($privkey);
     $pubkey = $details["key"];
     $details = $details["rsa"];
     echo '<b>Pubkey:</b><br /><pre>' . $pubkey . '</pre>' . "\n";
     echo '<b>Modulus (hex):</b> ' . bin2hex($details['n']) . '<br /><br />' . "\n";
     echo '<b>Public exponent (hex):</b> ' . bin2hex($details['e']) . '</p>' . "\n";
 }
 $apip = $apm->getByName($_POST['pname']);
 if (!$apip) {
     endPage("Name {$_POST['pname']} does not exist.");
 }
 echo "<h1>API Profile: [{$apip->name}]</h1>\n";
 echo '<form method="POST" action="' . dirname($_SERVER['REQUEST_URI']) . '/' . basename($_SERVER['PHP_SELF']) . '">' . "\n";
 echo '<input type="hidden" name="pname" value="' . $apip->name . '" />' . "\n";
 foreach ($fields as $field) {
     if (substr($field, 0, 5) == 'perm_' || $field == 'active') {
         echo '<label for="' . $field . '">' . $field . '</label>' . "\n";
         echo '<input type="checkbox" name="' . $field . '" id="' . $field . '" value="1" ';
         if ($apip->{$field}) {
             echo 'checked="true" ';
         }
         echo '/><br />' . "\n";
     } else {
         if ($field != 'id' && $field != 'created' && $field != 'name' && $field != 'allowed_app_fields' && $field != 'priv_pem') {
             echo '<label for="' . $field . '">' . $field . '</label>' . "\n";
开发者ID:Zartas,项目名称:appDB,代码行数:31,代码来源:apiprofileutil.php


示例6: search


//.........这里部分代码省略.........
            $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();
            ?>
                <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 $searchResults . " " . $s;
            print "<ul>";
            for ($i = 0; $i < count($aPgTitle); $i++) {
                if ($aFound[$i] == 1) {
                    print '<li><a href="' . $aPgURL[$i] . '">' . $aPgTitle[$i] . '</a></li>';
                }
            }
            print "</ul>";
    }
    ?>
			</div>
            </div>
 			   <?php 
    print foot();
    ?>
                    </div>
                </div>
            </div>
        </div>        <!-- /#page-content-wrapper -->
    </div>    <!-- /#wrapper -->
		<?php 
    print endPage();
    ?>
</body>
</html>
<?php 
}
开发者ID:guylancaster999,项目名称:william2016,代码行数:101,代码来源:search.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP endPrettyTable函数代码示例发布时间:2022-05-15
下一篇:
PHP endHTML函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap