Example #1
0
        ?>
" class="row row-talk-comment<?php 
        echo $class;
        ?>
">
    <div class="img">
    <?php 
        if ($is_speaker_comment) {
            ?>
        <span class="speaker">Speaker comment:</span>
    <?php 
        } else {
            ?>
        <?php 
            if ($v->rating > 0) {
                echo rating_image($v->rating);
            }
            ?>
<br/>
        <?php 
            if (!empty($v->twitter_username)) {
                ?>
        <a href="http://twitter.com/<?php 
                echo $v->twitter_username;
                ?>
"><img src="/inc/img/twitter_share_icon.gif" style="margin-top:10px" width="20"/></a>
        <?php 
            }
            ?>
        <?php 
            if (!empty($v->gravatar)) {
Example #2
0
<div class="row row-talk">
	<div class="img">
		<?php 
echo rating_image($talk->tavg);
?>
	</div>
	<div class="text">
    	<h3><a href="/talk/view/<?php 
echo escape($talk->ID);
?>
"><?php 
echo escape($talk->talk_title);
?>
</a></h3>
    	<p class="opts">
    		at <a href="/event/view/<?php 
echo escape($talk->eid);
?>
"><?php 
echo escape($talk->event_name);
?>
</a> 
			<?php 
if (isset($talk->event_start)) {
    echo '(' . date('m.d.Y', $talk->date_given) . ')';
}
?>
			|
    		<a href="/talk/view/<?php 
echo escape($talk->ID);
?>
Example #3
0
            $speaker_list = array();
            foreach ($talk->speaker as $speaker) {
                if (isset($claimed[$talk->ID][$speaker->speaker_id])) {
                    $claim_data = $claimed[$talk->ID][$speaker->speaker_id];
                    $speaker_list[] = '<a href="/user/view/' . $claim_data->speaker_id . '">' . $claim_data->full_name . '</a>';
                } else {
                    $speaker_list[] = $speaker->speaker_name;
                }
            }
            echo implode(', ', $speaker_list);
            ?>
                </div>
            </td>
            <td style="vertical-align:middle">
                <?php 
            echo rating_image($talk->rank, "small");
            ?>
            </td>
            <td>
                <?php 
            if (!empty($talk->slides_link)) {
                ?>
                <a class="slides" target="new" href="<?php 
                echo $talk->slides_link;
                ?>
">
                    <img style='vertical-align:text-top;' alt="Slides available" src="/inc/img/icon-slides.gif">
                </a>
                <?php 
            }
            ?>
Example #4
0
    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";
    /* 468x60, created 11/5/08 */
    google_ad_slot = "4582459016"; google_ad_width = 468; google_ad_height = 60; //-->
    </script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<?php 
foreach ($talks as $t) {
    if ($ct % 2 == 0 && $ct != 0) {
        echo '</tr><tr>';
    }
    ?>
<td valign="top" width="50%" style="padding-bottom:10px">
	<div>
	<div class="text">
    	<h3><a href="/talk/view/<?php 
    echo escape($t->ID);
    ?>
"><?php 
    echo escape($t->talk_title);
    ?>
</a></h3>
		<?php 
    echo $t->speaker;
    ?>
		<div class="img" style="padding-top:5px"><?php 
    echo rating_image($t->rating);
    ?>
</div>
	</div>
	</div>
</td>
<?php 
    $ct++;
}
?>
</tr></table>
Example #6
0
    <h2>Comments</h2>
    <div class="UserViewCommentDetailsControl" onclick="$('.UserViewCommentDetails').css('display', 'block'); $('.UserViewCommentDetailsControl').css('display', 'none');">(Show Details)</div>
    <div class="UserViewCommentDetails" onclick="$('.UserViewCommentDetails').css('display', 'none'); $('.UserViewCommentDetailsControl').css('display', 'block');">(Hide Details)</div>
<?php 
if (count($comments) == 0) {
    ?>
    <p>No comments so far</p>
<?php 
} else {
    ?>
    <?php 
    foreach ($comments as $k => $v) {
        ?>
    <div class="row">
        <?php 
        echo rating_image($v->rating, "small");
        ?>
&nbsp;<div class="UserViewCommentDetails">(<?php 
        echo date('d.M.Y', $talk->date_given);
        ?>
)</div><strong><a href="/talk/view/<?php 
        echo $v->talk_id;
        ?>
#comment-<?php 
        echo $v->ID;
        ?>
"><?php 
        echo escape($v->talk_title);
        ?>
</a></strong>
        <div class="clear UserViewCommentDetails"><?php