コード例 #1
0
<?php

/****************************************/
/* Custom Template for Event Loop		*/
/* based on Standart Templates			*/
/* Base Template						*/
/****************************************/
$_eventstatus = eventstatus(jes_bp_get_event_edtsd(), jes_bp_get_event_edtsth(), jes_bp_get_event_edtstm(), jes_bp_get_event_edted(), jes_bp_get_event_edteth(), jes_bp_get_event_edtetm());
?>
<li>
	<div class="item-avatar" id="jes-avatar">
		<a href="<?php 
jes_bp_event_permalink();
?>
"><?php 
jes_bp_event_avatar('type=thumb&width=' . $jes_adata['jes_events_show_avatar_directory_size'] . '&height=' . $jes_adata['jes_events_show_avatar_directory_size']);
?>
</a>
	</div>

	<div class="item" style="width:80%;" id="jes-item">
		<div class="item-title" id="jes-title"><a href="<?php 
jes_bp_event_permalink();
?>
"><?php 
jes_bp_event_name();
?>
</a></div>			
			<div class="item-meta">
				<em><?php 
echo $_eventstatus;
コード例 #2
0
							</select><?php 
    _e(' hours', 'jet-event-system');
    ?>
							<select name="event-edtstm" id="event-edtstm" size=1>
								<?php 
    for ($i = 0; $i < 60; $i = $i + 5) {
        ?>
									<?php 
        if ($i < 10) {
            $codei = '0' . $i;
        } else {
            $codei = $i;
        }
        ?>
								<option <?php 
        if (jes_bp_get_event_edtstm() == $codei) {
            ?>
selected="selected" <?php 
        }
        ?>
value="<?php 
        echo $codei;
        ?>
"><?php 
        echo $codei;
        ?>
</option>
								<?php 
    }
    ?>
							</select><?php 
コード例 #3
0
        ?>
">
			<input type="hidden" name="jes-send-eventslug" value="<?php 
        jes_bp_event_slug();
        ?>
">
			<input type="hidden" name="jes-send-url" value="<?php 
        jes_bp_event_permalink();
        ?>
">
			<input type="hidden" name="jes-send-eventdesc" value="<?php 
        jes_bp_event_description();
        ?>
">
			<input type="hidden" name="jes-send-unixsd" value="<?php 
        echo jes_datetounix(jes_bp_get_event_edtsd(), jes_bp_get_event_edtsth(), jes_bp_get_event_edtstm()) - jes_offset();
        ?>
">
			<input type="hidden" name="jes-send-unixed" value="<?php 
        echo jes_datetounix(jes_bp_get_event_edted(), jes_bp_get_event_edteth(), jes_bp_get_event_edtetm()) - jes_offset();
        ?>
">
			<input type="hidden" name="jes-send-placed" value="<?php 
        if ($jes_adata['jes_events_countryopt_enable']) {
            jes_bp_event_placedcountry();
            ?>
, <?php 
        }
        if ($jes_adata['jes_events_stateopt_enable']) {
            jes_bp_event_placedstate();
            ?>