Пример #1
0
<?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>';
Пример #2
0
<?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);
    }
}
Пример #3
0
<?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 
Пример #4
0
<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 
}
?>
Пример #5
0
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);
?>
Пример #6
0
<?php

menu_pagetitle('User: '******'<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;
    ?>
Пример #7
0
<?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>
Пример #8
0
<?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);
    }
}
Пример #9
0
<?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 
Пример #10
0
<?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 
}
?>
    
Пример #11
0
<?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 
Пример #12
0
<?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/>
Пример #13
0
<?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));
Пример #14
0
}
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 
Пример #15
0
<?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>
Пример #16
0
<?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)) {
Пример #17
0
<?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");
        });
    }
}
    
Пример #18
0
<?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)) {
Пример #19
0
<?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";
Пример #20
0
<?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);
Пример #21
0
<?php

menu_pagetitle('Start');
//echo '<pre><b>TALKS:</b>'; print_r($talks); echo '</pre>';
//echo '<pre>'; print_r($events); echo '</pre>';
//echo '<pre>'; print_r($latest_blog); echo '</pre>';
if (count($hot_events) > 0) {
    ?>
<div class="box">
<h2 class="h1 icon-event">Hot Events <a class="more" href="/event/hot">More &raquo;</a></h2>
<?php 
    foreach ($hot_events as $k => $v) {
        $this->load->view('event/_event-row', array('event' => $v));
    }
    ?>
</div>
<?php 
}
?>

<?php 
if (count($upcoming_events) > 0) {
    ?>
<div class="box">
<h2 class="h1 icon-event">Upcoming Events <a class="more" href="/event/upcoming">More &raquo;</a></h2>
<?php 
    foreach ($upcoming_events as $k => $v) {
        $this->load->view('event/_event-row', array('event' => $v));
    }
    ?>
</div>
Пример #22
0
<?php

menu_pagetitle('Error!');
?>

<h1 class="icon-event">Error!</h1>

<p>
The page you were looking for wasn't found! Here's a few others that 
might be what you're looking for - give them a try!
</p>
<p>
<b><a href="/event">Main Events List</a></b><br/>
Check out past, recent and upcoming events from our list.
</p>
<p>
<b><a href="/talk">Main Talks List</a></b><br/>
Every event has their talks but you can get a quick summary here of talks across all events
</p>
<p>
<b><a href="/about">About <?php 
echo $this->config->item('site_name');
?>
</a></b><br/>
Learn all about <?php 
echo $this->config->item('site_name');
?>
 and what it has to offer you as both a user and conference planner
</p>

<?php 
Пример #23
0
<?php

menu_pagetitle('Widgets');
?>
<h1 class="icon-about">Widgets</h1>
<div class="box">
    <p>
    The JavaScript widgets have been created to make it easier to pull relevant
    information from our site into yours.  The data on joind.in belongs to the
    community and we hope this makes it simple to use it as you wish!
    </p>

    <h3>About the Widgets</h3>

    We've started very simple, and the widgets display the current rating and
    number of comments for a talk.  Here's an example:

<script src="//joind.in/widget/widget.php"></script>
<script>
    joindin.draw(3214);
</script><br clear="both"/>

    <p>It simply shows how many comments there are in total, the current overall
    rating, and links to the site for people to see the comments or join in.</p>

    <h3>Start Using Widgets</h3>

    <p><b>NOTE:</b> This code relies on jQuery, so if your site doesn't
    already include this, you'll need the following line in your &lt;head&gt;
    tag:</p>
Пример #24
0
<?php

menu_pagetitle('Open Call for Papers');
?>

<h2>Open Call For Papers</h2>

<?php 
foreach ($current_cfp as $eventData) {
    $eventData->is_cfp = true;
    $this->load->view('event/_event-row', array('event' => $eventData));
}
Пример #25
0
$msg = '';
$showFields = array();
//$tz_list=array('Select Continent');
//foreach($tz as $k=>$v){ $tz_list[(string)$v->offset]=floor((string)$v->offset/3600); }
if (isset($this->edit_id) && $this->edit_id) {
    echo form_open_multipart('event/edit/' . $this->edit_id);
    $sub = 'Save Edits';
    $title = 'Edit Event: <a style="text-decoration:none" href="/event/view/' . $detail[0]->ID . '">' . $detail[0]->event_name . '</a>';
    $curr_img = $detail[0]->event_icon;
    menu_pagetitle('Edit Event: ' . $detail[0]->event_name);
} else {
    echo form_open_multipart('event/add');
    $sub = 'Add Event';
    $title = 'Add Event';
    $curr_img = 'none.gif';
    menu_pagetitle('Add an Event');
}
echo '<h2>' . $title . '</h2>';
?>
<script type="text/javascript" src="/inc/js/event.js"></script>

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

<div class="box">
Пример #26
0
<?php

menu_pagetitle('Talks');
//echo '<pre>'; print_r($talks['recent']); echo '</pre>';
?>
<h1 class="icon-talk">Talks</h1>

<p class="filter">
    <a href="#pop_recent">Recently Popular</a> |
    <a href="#pop_all">Most Popular (All Time)</a>
</p>

<h2>Recent Popular Talks</h2>
<a name="pop_recent"></a>
<?php 
foreach (array_slice($talks['recent'], 0, 10) as $v) {
    $this->load->view('talk/_talk-row', array('talk' => $v));
}
?>
<br/><br/>

<h2>Popular Talks (All Time)</h2>
<a name="pop_all"></a>
<?php 
foreach (array_slice($talks['popular'], 0, 10) as $v) {
    $this->load->view('talk/_talk-row', array('talk' => $v));
}
//$this->load->view('talk/_popular-speaker', array('talks'=>$talks['popular']));
Пример #27
0
<?php

//$posts	= array();
$eid = $evt_detail[0]->ID;
$sub = $action == 'add' ? 'Add Post' : 'Edit';
switch ($action) {
    case 'add':
        $fact = 'add/' . $eid;
        break;
    case 'edit':
        $fact = 'edit/' . $eid . '/' . $pid;
        break;
    default:
        $fact = '';
}
menu_pagetitle('Blog : ' . escape($evt_detail[0]->event_name));
?>
<h2>Blog : <?php 
echo $evt_detail[0]->event_name;
?>
</h2>
<a class="btn-small" href="/event/view/<?php 
echo $eid;
?>
">Back to event</a>
<?php 
if ($action != 'view') {
    ?>
<a class="btn-small" href="/event/blog/view/<?php 
    echo $eid;
    ?>
Пример #28
0
<?php

if (!empty($results)) {
    menu_pagetitle('Search for: ' . escape($this->validation->search_term));
} else {
    menu_pagetitle('Search');
}
?>
<h1 class="icon-search">Search</h1>

<div class="box">
    <?php 
echo form_open('/search');
?>
    
    <?php 
if (!empty($this->validation->error_string)) {
    ?>
        <?php 
    $this->load->view('msg_error', array('msg' => $this->validation->error_string));
    ?>
    <?php 
}
?>
    
    <div class="row">
    	<label for="search_term">Search term</label>
    	<?php 
$arr = array('name' => 'search_term', 'id' => 'search_term', 'size' => 50, 'value' => $this->validation->search_term);
echo form_input($arr);
?>
Пример #29
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">

<head>
<?php 
$title = menu_pagetitle();
$title[] = $this->config->item('site_name');
?>
	<title><?php 
echo implode(' - ', $title);
?>
</title>
	<link media="all" rel="stylesheet" type="text/css" href="/inc/css/site.css"/>
	<link media="all" rel="stylesheet" type="text/css" href="/inc/css/jquery-ui/jquery-ui-1.7.3.custom.css"/>
	<link media="all" rel="stylesheet" type="text/css" href="/inc/css/jquery-ui/theme/ui.all.css"/>

	
	
	<?php 
if ($css) {
    ?>
	<link media="all" rel="stylesheet" type="text/css" href="<?php 
    echo $css;
    ?>
"/>
	<?php 
}
?>
	
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> 
	<script type="text/javascript" src="/inc/js/jquery.js"></script>
Пример #30
0
<?php

menu_pagetitle('Joind.In Data Import');
?>
<h1>Importing Talks to Your Event</h1>

<p>We know that you have so many other things to take care of when you organise an event, and that you are probably publishing your schedule in a number of places, so we've created a CSV import to let you quickly get your existing data into joind.in (data entry is nobody's idea of fun!).  To get started, click on the "Import Event Info" on the right hand event bar:</p>

<img src="/inc/img/docs/screenshot1.png" /><br/>

<p>You will go to a page which gives full details of how to create a file to import, this usually involves using a spreadsheet with one row per talk/session and then saving the file as a CSV (comma-separated values) file from your spreadsheet program (Excel, OpenOffice or Google Docs can all do this).</p>

<h3 style="color:#5181C1">Preparing Data for Import</h3>

<p>The basic CSV data format is very simple, it looks something like the picture below - this is the actual data used to populate the <a href="/phpnw10">PHPNW10 event</a>:</p>

<img src="/inc/img/docs/csv1.png" /><br /><br />

<p>The first row contains titles - these can appear in any order but must be spelled as shown</p>

<img src="/inc/img/docs/csv2.png" /><br /><br />

<p>Look out for the dates and time being separate and formatted quite strictly.  You can enter the date in your spreadsheet in any format, then highlight the column and choose "format cells" to change how the data is actually shown.  The same settings are then used when you create the CSV file.</p>

<img src="/inc/img/docs/csv3.png" /><br /><br />

<p>The last thing to mention is that if you specify a track for a talk, this track must already have been created for your event (do this from the main event page - see the admin links on the right hand bar again).  The import will run until it hits a track it doesn't recognise, and will then stop at this point, so you may need to add a track, remove the already-imported rows from your spreadsheet, and try again!  Check that the track names are spelled exactly the same on the spreadsheet as they are in the event on joind.in</p>