Example #1
0
function show_help($link, $text, $url = '', $extras = '')
{
    if ($url) {
        $url = " href=\"{$url}\" ";
    }
    if (!$_SESSION['show help']) {
        if ($url || $extras) {
            echo "<a {$url}{$extras}>{$link}</a>";
        } else {
            echo $link;
        }
        return;
    }
    static $help_count;
    $help_count++;
    echo '<a' . show_popup('helplink_' . $help_count, $text, NULL, 'help') . '>' . $link . '</a>';
}
if ($schedule->search == searchtype_power) {
    echo ' CHECKED';
}
?>
 onclick="toggle_options()">
                    <label for="searchtype_power"><?php 
echo t('Power Search');
?>
</label></li>
            </ul>

        </div>

        <div class="x-options">
            <h3><a <?php 
echo show_popup('RecordingOptionsHelp', $RecordingOptionsHelp);
?>
><?php 
echo t('Recording Options');
?>
:</a></h3>

            <dl id="title_options" class="x-long">
                <dt><?php 
echo t('Title');
?>
:&nbsp;</dt>
                <dd><input type="text" name="title" value="<?php 
echo html_entities($schedule->edit_title);
?>
" size="24">
Example #3
0
</label><br>
                </div>
        </form>
        </th>
            <td><?php 
    // A program id counter for popup info
    $program_id_counter = 0;
    foreach ($conflicting_shows as $show) {
        if (!isset($_SESSION['recording_details']['show_' . $show->recstatus])) {
            continue;
        }
        $program_id_counter++;
        // Print the link to edit this scheduled recording
        echo '<a class="', $show->css_class, '" title="', html_entities(t('$1 to $2', strftime($_SESSION['time_format'], $show->starttime), strftime($_SESSION['time_format'], $show->endtime)) . ', ' . ($_SESSION["prefer_channum"] ? $show->channel->channum : $show->channel->callsign) . ' - ' . $show->channel->name) . '"';
        if ($_SESSION["show_popup_info"]) {
            echo show_popup("program_{$program_id_counter}", $show->details_list(), NULL, 'popup');
        }
        echo ' href="' . root_url . 'tv/detail/' . $show->chanid . '/' . $show->starttime . '">' . $show->title . (preg_match('/\\w/', $show->subtitle) ? ":  {$show->subtitle}" : '') . '</a>';
    }
    ?>
</td>
        </tr><?php 
}
?>
<tr class="x-links">
            <th><?php 
echo t('More');
?>
:</th>
            <td>
<?php 
Example #4
0
        </div>
        <?php 
}
?>
    </div>
</div>


<table id="command_choices_table" width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>

    <td colspan="2" class="menu menu_border_t menu_border_b"><table class="body" width="100%" border="0" cellspacing="2" cellpadding="2">
        <tr>
            <td><div id="command_choices">
                    <a href="" <?php 
echo show_popup('category_legend', $legend);
?>
>MythTV:</a> &nbsp; &nbsp;
                    <?php 
if (Modules::getModule('tv')) {
    ?>
                        <a href="tv/list"><?php 
    echo t('Listings');
    ?>
</a>
                        &nbsp; | &nbsp;
                        <a href="tv/searches"><?php 
    echo t('Searches');
    ?>
</a>
                        &nbsp; | &nbsp;
                <li><span>Complete Website Delivery</span></li>
            </ul>
        </div>
    </div><!-- section contact -->

	<footer class="footer">
		<a title="Lucas Laronga - Photography" onclick="_gaq.push(['_trackEvent', 'External','Lucas Laronga'])" href="http://www.lucaslaronga.com/" target="_blank"><img src="images/hypefooter.png" alt="Photography by Lucas Laronga" /></a>
		<p>2013-<?php 
echo date('Y');
?>
 &copy; Daniel Fanica - Personal Page</p>
    </footer>
</div>

<?php 
if (show_popup('home_greeting_overlay')) {
    ?>
	<div id="popup">
	  	<div class="popup-content">
	    	<img src="images/p-logo.png" class="p-logo" with="141" height="96" alt="Hype &amp; Slippers - 2011">

	    	<p class="hello-there">Hello there!</p>

	    	<p>Due to the pursuit of other opportunities, I'm available for freelance for very short time throughout the week.</p><p>For more details about my work you can go to WyGom.com see what else I've been up to...</p>
	    	<p class="p-green">Thanks for dropping by!</p>

	    	<a class="button" href="http://www.wygom.com/">Go to WyGom</a>
	    	<a class="button-alt close-popup">Continue here!</a>
	  	</div>
	</div>
<?php