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

PHP menu_pagetitle函数代码示例

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

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



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

示例1: menu_pagetitle

<?php

menu_pagetitle("Who's On Joind.in?");
echo "<h2>Who's on Joind.in?</h2>";
$rand = array_rand($users, 63);
echo '<table cellpadding="0" cellspacing="0" border=0"><tr>';
$ct = 1;
foreach ($rand as $v) {
    echo '<td style="padding:3px"><a href="/user/view/' . $users[$v] . '"><img src="' . $gravatar_cache_url_fragment . '/user' . $users[$v] . '.jpg" height="60"></a></td>';
    if ($ct % 9 == 0 && $ct != 0) {
        echo '</tr><tr>';
    }
    $ct++;
}
echo '</tr></table>';
开发者ID:Bittarman,项目名称:joind.in,代码行数:15,代码来源:who.php


示例2: menu_pagetitle

<?php

menu_pagetitle('Unlink Talk Claim');
if (isset($talkId)) {
    echo form_open('talk/unlink/' . $talkId . '/' . $speakerId);
    ?>

    <table cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td>
            Are you sure you wish to unlink this talk claim?<br/>
            <input type="submit" value="yes" name="answer"> 
            <input type="button" value="no" onClick="document.location='/talk/view/<?php 
    echo $talkId;
    ?>
'">
        </td>
    </tr>
    </table>

    <?php 
    echo form_close();
} else {
    if (isset($error) && $error == '') {
        echo 'talk removed!';
    } else {
        echo 'Error: ' . htmlentities($error);
    }
}
开发者ID:jaytaph,项目名称:joind.in,代码行数:29,代码来源:unlink.php


示例3: menu_pagetitle

<?php

menu_pagetitle('Blog');
?>
<h1 class="icon-event">
	<?php 
if (user_is_admin()) {
    ?>
	<span style="float:left">
	<?php 
}
?>
	Blog
	<?php 
if (user_is_admin()) {
    ?>
	</span>
	<?php 
}
?>
	<?php 
if (user_is_admin()) {
    ?>
	<a class="btn" style="float:right" href="/blog/add">Add blog post</a>
	<div class="clear"></div>
    <?php 
}
?>
</h1>

<?php 
开发者ID:rdohms,项目名称:joind.in,代码行数:31,代码来源:main.php


示例4: menu_pagetitle

<script type="text/javascript" src="/inc/js/jq.joindIn.js"></script>
<script type="text/javascript" src="/inc/js/event.js"></script>
<?php 
menu_pagetitle('Event: ' . escape($event_detail->event_name));
// Load up our detail view
$data = array('event_detail' => $event_detail, 'attend' => $attend, 'admins' => $admins);
$this->load->view('event/modules/_event_detail', $data);
// These are our buttons below the event detail
$data = array('admin' => $admin, 'event_detail' => $event_detail);
$this->load->view('event/modules/_event_buttons', $data);
?>

<?php 
$data = array('talks' => $talks, 'comments' => $comments, 'slides_list' => $slides_list, 'admin' => $admin, 'tracks' => $tracks, 'talk_stats' => $talk_stats, 'event_detail' => $event_detail, 'event_url' => '/event/view/' . $event_detail->ID . '/', 'tab' => $tab);
if ($prompt_event_comment) {
    $this->load->view('event/_event_prompt_comment', array());
}
$this->load->view('event/modules/_event_tabs', $data);
?>

<script type="text/javascript">
(function($) {
    $(document).ready(function() {
        $('#event-tabs').joindIn_tabs();
        <?php 
if (count($talks) == 0) {
    ?>
            $('a[rel=comments]').click();
            <?php 
}
?>
开发者ID:weaverryan,项目名称:joind.in,代码行数:31,代码来源:detail.php


示例5: foreach

foreach ($langs as $k => $v) {
    $lang_list[$v->ID] = $v->lang_name;
}
if (!empty($this->validation->error_string)) {
    $this->load->view('msg_info', array('msg' => $this->validation->error_string));
}
if (isset($this->edit_id)) {
    $actionUrl = 'talk/edit/' . $this->edit_id;
    $sub = 'Save Edits';
    $title = 'Edit Session: ' . $detail[0]->talk_title;
    menu_pagetitle('Edit Session: ' . $detail[0]->talk_title);
} else {
    $actionUrl = 'talk/add/event/' . $ev->ID;
    $sub = 'Add Session';
    $title = 'Add Session';
    menu_pagetitle('Add Session');
}
echo '<h2>' . $title . '</h2>';
if (isset($msg) && !empty($msg)) {
    $this->load->view('msg_info', array('msg' => $msg));
}
if (isset($err) && !empty($err)) {
    $this->load->view('msg_info', array('msg' => $err));
}
$priv = $evt_priv === true ? ', Private Event' : '';
?>

<?php 
echo form_open($actionUrl);
?>
开发者ID:Bittarman,项目名称:joind.in,代码行数:30,代码来源:add.php


示例6: menu_pagetitle

<?php

menu_pagetitle('User: ' . escape($details[0]->full_name));
if ($gravatar) {
    echo '<img src="' . $gravatar . '" height="80" width="80" alt="" /><br/><br/>';
}
?>
<h1><?php 
echo !empty($details[0]->full_name) ? $details[0]->full_name : $details[0]->username;
?>
</h1>
<?php 
if ($is_admin) {
    $txt = $details[0]->active == 1 ? 'Disable User Account' : 'Enable User Account';
    ?>
    <a class="btn-small" href="/user/changestat/<?php 
    echo $details[0]->ID;
    ?>
"><?php 
    echo $txt;
    ?>
</a>
    <?php 
    $atxt = $details[0]->admin == 1 ? 'Remove as Admin' : 'Add as Admin';
    ?>
    <a class="btn-small" href="/user/changeastat/<?php 
    echo $details[0]->ID;
    ?>
"><?php 
    echo $atxt;
    ?>
开发者ID:rkhassen,项目名称:joind.in,代码行数:31,代码来源:view.php


示例7: menu_pagetitle

<?php

menu_pagetitle('API Documentation');
?>

<style>
b.req_title { color: #767676; }
b.req_name { font-size: 12px; }
</style>

<h1 style="margin-top:0px;margin-bottom:2px;color:#B86F09"><?php 
echo $this->config->item('site_name');
?>
 API</h1>

<p><b>There is a new API under development.  <a href="/api/v2docs">click here</a> to find out more about the replacement RESTful API.  Both APIs are currently supported</b></p>


<p>
The <?php 
echo $this->config->item('site_name');
?>
 API allows for the fetching and updating of information in the service's database. You can use both XML and JSON messaging to communicate with it. Here's an XML-based example structure each request should follow:
</p>

<h3>Sample Request</h3>
<div style="padding:3px;border:1px solid #000000;background-color:#F8F8F8">
<pre>
<?php 
echo escape('<request>
        <auth>
开发者ID:jaytaph,项目名称:joind.in,代码行数:31,代码来源:doc.php


示例8: menu_pagetitle

<?php

menu_pagetitle('Delete Talk');
if (isset($tid)) {
    echo form_open('talk/delete/' . $tid);
    ?>

    <table cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td>
            Are you sure you wish to delete this talk?<br/>
            <input type="submit" value="yes" name="answer"> 
            <input type="button" value="no" onClick="document.location='/talk/view/<?php 
    echo $tid;
    ?>
'">
        </td>
    </tr>
    </table>

    <?php 
    echo form_close();
} else {
    if (isset($error) && $error == '') {
        echo 'talk removed!';
    } else {
        echo 'Error: ' . htmlentities($error);
    }
}
开发者ID:jaytaph,项目名称:joind.in,代码行数:29,代码来源:delete.php


示例9: menu_pagetitle

<?php

menu_pagetitle('Pending Claims for ' . $event_detail[0]->event_name);
?>

<?php 
echo '<h2>Pending Claims</h2>';
?>

<style>
#claims_table { width: 100%; }
#claims_table td { padding: 3px; }
#claims_table td.app_den { width: 30px; font-size: 9px; }
</style>

<p>
Below you'll find a list of claims visitors to the site have made on the sessions for this event. 
The "Speaker" field shows the speaker name(s) and the "Claiming User" is the <?php 
echo $this->config->item('site_name');
?>
 user trying to
claim the session. You can then accept/deny based on any match between them.
</p>

<?php 
if (!empty($msg)) {
    $this->load->view('msg_info', array('msg' => $msg));
}
?>

<?php 
开发者ID:Bittarman,项目名称:joind.in,代码行数:31,代码来源:claim.php


示例10: menu_pagetitle

<?php

menu_pagetitle('Contact');
?>
<h1 class="icon-about">Contact</h1>
<?php 
if (!empty($msg)) {
    $this->load->view('msg_info', array('msg' => $msg));
}
?>

<div class="box">
	<p>
    We value any and all feedback you can give us about the site or what features you might like to see.
	Use the form below to contact us directly! Thanks for your comments!
    </p>
    
    <?php 
echo form_open('about/contact', array('class' => 'form-contact'));
?>
    
    <?php 
if (!empty($this->validation->error_string)) {
    ?>
            <?php 
    $this->load->view('msg_error', array('msg' => $this->validation->error_string));
    ?>
    <?php 
}
?>
    
开发者ID:rdohms,项目名称:joind.in,代码行数:30,代码来源:contact.php


示例11: escape

<?php

$v = $details[0];
$bid = $v->ID;
if (isset($full_name)) {
    $this->validation->name = escape($full_name);
}
menu_pagetitle('Blog: ' . escape($v->title));
?>
<div class="detail">

	<h1><?php 
echo $v->title;
?>
</h1>

	<p class="info">
		Written <strong><?php 
echo date('M j, Y', $v->date_posted);
?>
</strong> at <strong><?php 
echo date('H:i', $v->date_posted);
?>
</strong> (<?php 
echo $v->author_id;
?>
)
	</p>

	<div class="desc">
		<?php 
开发者ID:bradley-holt,项目名称:joind.in,代码行数:31,代码来源:view.php


示例12: menu_pagetitle

<?php

menu_pagetitle('Iphone Support');
?>
<h1 class="icon-about">iPhone Support</h1>

<p>
<a href="/about/iphone_support"><img src="/inc/img/iphone.jpg" height="70" style="margin-right:10px" align="left" border="0"/></a>
    Welcome, iPhone app user!  Whether you want to tell us that you love the <?php 
echo $this->config->item('site_name');
?>
 app or hate it, we want to hear from you - simply drop us an email at <a href="mailto:<?php 
echo $this->config->item('email_iphone');
?>
"><?php 
echo $this->config->item('email_iphone');
?>
</a>.  Comments, suggestions, questions and feature requests are all welcome - we'll add an FAQ here once the questions start coming in.
</p>

<hr/>
<p>
<b>Q: Why is the app free?</b><br/>
A: We want to make our service as accesible as possible and this means making it as simple as 
possible for attendees to leave their feedback and use the site. By offering the application for
no charge, we make it as easy as hitting "Install" in the App Store.
</p>
<hr/>

<p>
<b>Q: This app would be perfect if...</b><br/>
开发者ID:asgrim,项目名称:joind.in,代码行数:31,代码来源:iphone_support.php


示例13: menu_pagetitle

<?php

/* 
 * Add/create a speaker profile access
 * 
 */
menu_pagetitle('Manage Speaker Profile Access');
$this->load->view('user/_nav_sidebar');
$edit_select = array();
if ($curr_access) {
    foreach ($curr_access as $curr) {
        $edit_select[] = is_object($curr) ? $curr->field_name : $curr;
    }
}
?>

<div class="menu">
    <ul>
    <li><a href="/speaker/profile">Speaker Profile</a>
    <li class="active"><a href="/speaker/access">Profile Access</a>
    </ul>
    <div class="clear"></div>
</div>

<p>
    Select the items from the list below to include in this Speaker Profile Access:
</p>

<?php 
if (!empty($msg)) {
    $this->load->view('msg_info', array('msg' => $msg));
开发者ID:jaytaph,项目名称:joind.in,代码行数:31,代码来源:access_add.php


示例14: switch

}
switch ($type) {
    case 'hot':
        $title = 'Hot Events';
        break;
    case 'upcoming':
        $title = 'Upcoming Events';
        break;
    case 'past':
        $title = 'Past Events';
        break;
    default:
        $title = 'Events';
        break;
}
menu_pagetitle($title);
$subtitle = '';
if (!empty($year) && !empty($month)) {
    if (!empty($day)) {
        $subtitle .= ' for ' . date('F j, Y', mktime(0, 0, 0, $month, $day, $year));
    } else {
        $subtitle .= ' for ' . date('F Y', mktime(0, 0, 0, $month, 1, $year));
    }
}
?>
<h1 class="icon-event">
    <?php 
if (user_is_admin()) {
    ?>
    <span style="float:left">
    <?php 
开发者ID:jaytaph,项目名称:joind.in,代码行数:31,代码来源:main.php


示例15: menu_pagetitle

<?php

menu_pagetitle('About');
?>
<h1 class="icon-about">About</h1>

<h3 style="color:#5181C1">Online Event Feedback</h3>
<p><?php 
echo $this->config->item('site_name');
?>
 is the replacement for all those paper submission forms that get left on  the floor at the end of an event.  The site gives details of events past, present and future, the sessions, timetable and speakers at each, and allows all attendees to register and leave feedback - for the sessions and for the event itself.</p>

<p>As well as the website, there is an open API and applications are freely available for iphone and android, and there is a wordpress plugin to show your event information on your own site.</p>

<p>To get to grips with how to do various tasks, visit the <a href="/help">help page</a>.</p>

<h3 style="color:#5181C1">For Developers</h3>
<p><?php 
echo $this->config->item('site_name');
?>
 is an open source project, written in PHP, and we welcome new contributors, commenters and observers.  You can make contact with the project in many ways:<ul>
<li>The code and a wiki with developer documentation is on github <a href="https://github.com/joindin/joind.in">https://github.com/joindin/joind.in</a></li>
<li>The issue tracker is <b>now on JIRA <a href="http://joindin.jira.com">http://joindin.jira.com</a></b> - if you see a problem on the site, feel free to report it here</li>
<li>We have mailing lists - one for <a href="https://groups.google.com/group/joindin-announce">announcements only</a>, one for discussion of <a href="https://groups.google.com/group/joindin-features">features</a> and one for <a href="https://groups.google.com/group/joindin-developers">development discussion</a>.  They are public and we welcome new additions</li>
<li>There is an IRC channel (#joind.in) on irc.freenode.net that you are welcome to join as well</li>
</ul>

<p>For those wishing to integrate with Joind.in, we have both an <a href="http://joindin.github.io/joindin-api/">API</a>, and some ready-made <a href="/about/widgets">JavaScript widgets</a> that you can simply drop into place on your site - more information can be found on those pages.</p>

<h3 style="color:#5181C1">Get In Touch</h3>
<p>If you have any comments, questions, feedback or anything else you'd like us to know, then do please <a href="/about/contact">get in touch</a> - we'd be delighted to hear from you!</p>
开发者ID:asgrim,项目名称:joind.in,代码行数:31,代码来源:main.php


示例16: menu_pagetitle

<?php

/*
 * Add or edit the speaker's profile
 */
menu_pagetitle('Manage Speaker Profile');
$this->load->view('user/_nav_sidebar');
?>

<div class="menu">
	<ul>
	<li class="active"><a href="/speaker/profile">Speaker Profile</a>
	<li><a href="/speaker/access">Profile Access</a>
	</ul>
	<div class="clear"></div>
</div>


<div class="box">
	<?php 
if (empty($pdata)) {
    ?>
	<p style="text-align: center;">
	    You do not have a speaker profile yet. Go create one!<br />
	</p>
	<?php 
}
?>
	<p style="text-align: center;">
	<?php 
if (empty($pdata)) {
开发者ID:bradley-holt,项目名称:joind.in,代码行数:31,代码来源:profile.php


示例17: menu_pagetitle

<?php

menu_pagetitle('Submit an event');
?>
<script type="text/javascript" src="/inc/js/jq.joindIn.js"></script>
<link rel="stylesheet" href="/inc/leaflet/leaflet.css" />
<!--[if lte IE 8]><link rel="stylesheet" href="/inc/leaflet/leaflet.ie.css" /><![endif]-->
<script src="/inc/leaflet/leaflet.js"></script>
<script>
function toggleCfpDates(){

    var sel_fields = new Array(
        'cfp_start_mo','cfp_start_day','cfp_start_yr',
        'cfp_end_mo','cfp_end_day','cfp_end_yr','cfp_url'
    );

    // Get the current status of the first one...
    stat = $('input[name="is_cfp"]').is(':checked');
    if(stat){
        $('div.cfp').show();
        $.each(sel_fields,function(){
            $('#'+this).removeAttr("disabled");
        });
    }else{
        $('div.cfp').hide();
        $.each(sel_fields,function(){
            $('#'+this).attr("disabled","disabled");
        });
    }
}
    
开发者ID:weaverryan,项目名称:joind.in,代码行数:30,代码来源:submit.php


示例18: menu_pagetitle

<?php

menu_pagetitle('Send Codes: ' . escape($details[0]->event_name));
//echo '<pre>'; print_r($full_talks); echo '</pre>';
//echo '<pre>'; print_r($talks); print_r($codes); echo '</pre>';
//print_r($codes);
$cl = array();
foreach ($claimed as $k => $v) {
    $cl[$v->code] = $v->email;
}
//echo '<pre>'; print_r($claimed); print_r($cl); /*print_r($full_talks);*/ echo '</pre>';
?>
<style>
tr.tbl_header {
	background-color: #C5C8A8;
}
tr.tbl_header td {
	font-weight: bold;
}
tr.claimed { background-color: #DEDEDE; }
</style>

<h1 class="icon-event">Send Codes: <?php 
echo escape($details[0]->event_name);
?>
</h1>
<p>
To claim their talks, speakers will need the codes below. To send the codes, put the speaker's email address in the field and check the box to signify you want to send to them. If there are multiple speakers for a talk, seperate the addresses with a comma and an email will be sent to both.
</p>
<?php 
if (!empty($this->validation->error_string)) {
开发者ID:bradley-holt,项目名称:joind.in,代码行数:31,代码来源:codes.php


示例19: error_reporting

<?php

error_reporting(E_ALL);
menu_pagetitle('Talk: ' . escape($detail->talk_title));
if (!empty($claim_msg)) {
    $class = $claim_status ? 'notice' : 'err';
    if ($claim_msg && !empty($claim_msg)) {
        echo '<div class="' . $class . '">' . escape($claim_msg) . '</div><br/>';
    }
}
?>
<script type="text/javascript" src="/inc/js/talk.js"></script>
<?php 
$msg = $this->session->flashdata('msg');
if (!empty($msg)) {
    $this->load->view('msg_info', array('msg' => $msg));
}
$speaker_ids = array();
$speaker = array();
$speaker_images = buildSpeakerImg($claim_details);
$speaker_txt = buildClaimedLinks($speakers, $claim_details);
$rstr = rating_image($detail->tavg);
$data = array('detail' => $detail, 'speaker_txt' => $speaker_txt, 'speaker_img' => $speaker_images, 'rstr' => $rstr);
$this->load->view('talk/modules/_talk_detail', $data);
$data = array('speaker' => $speakers, 'claim' => $claim_details);
$this->load->view('talk/modules/_talk_buttons', $data);
?>

<p class="ad">
    <script type="text/javascript"><!--
    google_ad_client = "pub-2135094760032194";
开发者ID:jeremykendall,项目名称:joind.in,代码行数:31,代码来源:detail.php


示例20: menu_pagetitle

<?php

menu_pagetitle('Add Blog Post');
$chk = array('post_mo' => 'm', 'post_day' => 'd', 'post_yr' => 'Y', 'post_hr' => 'H', 'post_mi' => 'i');
foreach ($chk as $k => $v) {
    if (empty($this->validation->{$k})) {
        $this->validation->{$k} = date($v);
    }
}
$sub = 'Submit New Post';
echo $this->validation->error_string;
if (isset($msg)) {
    echo '<div class="notice">' . $msg . '</div>';
}
?>

<h1>Add Blog Post</h1>
<?php 
if ($edit_id) {
    echo form_open('blog/edit/' . $edit_id);
} else {
    echo form_open('blog/add');
}
?>
<table cellpadding="3" cellspacing="0" border="0">
<tr>
    <td class="title">Title:</td>
    <td>
    <?php 
$p = array('name' => 'title', 'id' => 'title', 'size' => 30, 'value' => $this->validation->title);
echo form_input($p);
开发者ID:asgrim,项目名称:joind.in,代码行数:31,代码来源:add.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP menu_primary_local_tasks函数代码示例发布时间:2022-05-15
下一篇:
PHP menu_page_url函数代码示例发布时间: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