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


PHP Breadcrumbs函数代码示例

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


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

示例1: header

     $eventTypeID = $table_row[2];
     $eventIntroText = $table_row[3];
     $eventText = $table_row[4];
     $eventImagePathname = $table_row[5];
 }
 if ($num_rows < 1) {
     header('HTTP/1.1 301 Moved Permanently');
     header('Location: http://www.mongotickets.com/');
     exit;
 }
 $keywords = BuildEventKeywordList($categoryID, $eventName, $eventTypeID, $id);
 $keywords = AmpersandToAnd($keywords);
 $smarty->assign("SeoKeywords", $keywords);
 $descr = "Buy {$eventName} Tickets at great prices. Discount {$eventName} tickets.";
 $url = make_event_url($eventName, $id);
 $breadcrumb_str = Breadcrumbs($categoryID, 0);
 $breadcrumb_str = AppendBreadcrumb($breadcrumb_str, "{$url}", $eventName);
 # if category is theater, list venues first.
 $disp_home_away = 0;
 if ($eventTypeID == 4) {
     $title = "{$eventName} Tickets, {$eventName} Schedule, {$eventName} Dates, Discounted {$eventName} Tickets";
     $smarty->assign("title", $title);
     $smarty->assign("MetaDescr", $descr);
     $smarty->display('main.tpl');
     $venues = GetVenueList($id);
     $smarty->assign("Breadcrumbs", $breadcrumb_str);
     $smarty->assign("EventName", $eventName);
     $smarty->assign("EventIntroText", $eventIntroText);
     if (strlen($eventText) > 2) {
         $smarty->assign("EventText", $eventText);
     }
开发者ID:jassenm,项目名称:mongotickets_php,代码行数:31,代码来源:productions.new.php

示例2: array

         } else {
             $vsplits = $getTicketsResult->TicketGroup->ValidSplits->int;
         }
         $tickets[] = array("TicketID" => "{$tid}", "Available" => "{$avail}", "SeatSection" => "{$sec}", "SeatRow" => "{$srow}", "TicketPrice" => "\${$tprice}", "Descr" => "{$sdescr}", "SeatFrom" => "{$sfrom}", "SeatThru" => "{$sthru}", "ValidSplits" => $vsplits);
     }
     #		handle_error_no_exit ("tickets.tnd.php: No result from web services");
     // kill object
     unset($soapclient);
 }
 # end if $event_found
 $origEventName = $eventName;
 ######
 #$categoryID = 15;
 if ($eventID != "") {
     $url = make_event_url($eventName);
     $breadcrumb_str = Breadcrumbs($tn_cat_id, 0);
     $breadcrumb_str = AppendBreadcrumb($breadcrumb_str, "{$url}", $eventName . " Tickets");
 }
 if ($eventID == 1124) {
     $eventName .= " {$shortNote}";
     $fullEventName = $eventName;
     $breadcrumb_str = AppendBreadcrumbNoAnchor($breadcrumb_str, "&nbsp;{$fullEventName} Tickets");
     $title = "{$fullEventName} Tickets, {$fullEventName} Schedule, {$fullEventName} Dates";
     $heading1 = $fullEventName;
     $subheading = "<strong>{$eventName} Tickets</strong>";
 } else {
     $meta_descr = "{$eventName} - Buy {$eventName} tickets for {$shortDate} at {$venueName} in {$city}, {$regionCode} at MongoTickets!";
     $breadcrumb_str = AppendBreadcrumbNoAnchor($breadcrumb_str, " {$eventName} Tickets");
     $title = "{$gameName} Tickets at {$venueName} {$regionCode} on {$shortDate}";
     $heading1 = "{$gameName} Tickets";
     $subheading = "<strong>{$gameName} Tickets</strong>";
开发者ID:jassenm,项目名称:mongotickets_php,代码行数:31,代码来源:tickets.tnd.php


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