function navbarleft()
{
    echo "   <div class = \"navleft\">\n";
    echo "         <div class = \"box\">\n";
    if ($context['user']['is_guest']) {
        ssi_login();
    } else {
        ssi_welcome();
        echo "<br><br>\n";
        ssi_logout();
    }
    //   echo "            <form method = \"post\" action = \"contact.php\">\n";
    //   echo "            Login Here:\n";
    //   echo "            <input type = \"text\" name = \"input\" value = \"Username\" onFocus = \"clearField(this)\" onBlur = \"fillField(this, 'Username')\" size = \"13\"><br>\n";
    //   echo "            <input type = \"text\" name = \"input\" value = \"Password\" onFocus = \"clearField(this)\" onBlur = \"fillField(this, 'Password')\" size = \"13\"><br>\n";
    //   echo "            <br>\n";
    //   echo "            <input type = \"submit\" value = \"Go\">\n";
    //   echo "            </form>\n";
    echo "         </div>\n";
    echo "         <div class = \"box\">\n";
    echo "            <form method = \"post\" action = \"contact.php\">\n";
    echo "            <input type = \"text\" name = \"input\" value = \"Google S.S.\" onFocus = \"clearField(this)\" onBlur = \"fillField(this, 'Google S.S.')\" size = \"13\">\n";
    echo "            <br><br>\n";
    echo "            <input type = \"submit\" value = \"Go\">\n";
    echo "            </form>\n";
    echo "         </div>\n";
    echo "         <div class = \"box\">\n";
    echo "            Stuff<br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/archive.php\">Archive</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/pictures\">Pictures</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/rules\">Rulebook</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/about\">About</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/people\">People</a></ul><br><br>\n";
    echo "            <br><br>\n";
    echo "         </div>\n";
    echo "         <div class = \"box\">\n";
    echo "            Categories<br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/events\">Events</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/league\">League News</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/turkiball\">Turkiball News</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.turkiball.com/feed/other\">Other News</a></ul><br><br>\n";
    echo "            <br><br>\n";
    echo "         </div>\n";
    echo "      </div>\n";
}
function template_homepage_sample1_php()
{
    global $txt;
    $topics = ssi_recentTopics(8, null, null, 'array');
    foreach ($topics as $topic) {
        echo '
			<li><a href="', $topic['href'], '">', $topic['subject'], '</a> ', $txt['by'], ' ', $topic['poster']['link'], '</li>';
    }
    unset($topics);
    echo '

		</ul><br />

		<h3>Online Users</h3>';
    ssi_logOnline();
    echo '
	</div>

	<div id="content">';
    ssi_welcome();
    echo '
		<br /><br />

		<h2>News</h2>';
    ssi_boardNews();
    echo '
	</div>';
}
 /**
  * Short description
  *
  * Long description
  *
  * @param
  * @return
  */
 protected function show_welcome()
 {
     try {
         $this->loadSSI();
     } catch (Exception $e) {
         throw new \Exception($e->getMessage());
     }
     if ('echo' == $this->output_method) {
         ob_start();
         ssi_welcome();
         $this->data = ob_get_contents();
         ob_end_clean();
     } else {
         $this->data = ssi_welcome('array');
     }
 }
function navbarleft()
{
    echo "   <div class = \"navleft\">\n";
    echo "         <div class = \"box\">\n";
    if ($context['user']['is_guest']) {
        ssi_login();
    } else {
        ssi_welcome();
        echo "<br><br>\n";
        ssi_logout();
    }
    //   echo "            <form method = \"post\" action = \"contact.php\">\n";
    //   echo "            Login Here:\n";
    //   echo "            <input type = \"text\" name = \"input\" value = \"Username\" onFocus = \"clearField(this)\" onBlur = \"fillField(this, 'Username')\" size = \"13\"><br>\n";
    //   echo "            <input type = \"text\" name = \"input\" value = \"Password\" onFocus = \"clearField(this)\" onBlur = \"fillField(this, 'Password')\" size = \"13\"><br>\n";
    //   echo "            <br>\n";
    //   echo "            <input type = \"submit\" value = \"Go\">\n";
    //   echo "            </form>\n";
    echo "         </div>\n";
    echo "         <div class = \"box\">\n";
    echo "            <form method = \"post\" action = \"contact.php\">\n";
    echo "            <input type = \"text\" name = \"input\" value = \"Google S.S.\" onFocus = \"clearField(this)\" onBlur = \"fillField(this, 'Google S.S.')\" size = \"13\">\n";
    echo "            <br><br>\n";
    echo "            <input type = \"submit\" value = \"Go\">\n";
    echo "            </form>\n";
    echo "         </div>\n";
    echo "         <div class = \"box\">\n";
    echo "            Stuff<br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.guardiansportsalliance.com/archive.php\">Home</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.guardiansportsalliance.com/about.php\">About</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.guardiansportsalliance.com/organizations.php\">Organizations</a></ul><br><br>\n";
    echo "            <br><br>\n";
    echo "         </div>\n";
    echo "         <div class = \"box\">\n";
    echo "            Sports<br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.guardiansportsalliance.com/football\">Football</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.guardiansportsalliance.com/basketball\">Basketball</a></ul><br><br>\n";
    echo "            <ul class = \"navbutton\"><li><a href = \"http://www.guardiansportsalliance.com/turkiball\">Turkiball</a></ul><br><br>\n";
    echo "            <br><br>\n";
    echo "         </div>\n";
    echo "      </div>\n";
}
Example #5
0
flush();
?>

		<hr />

			<h3>Log Online Presence + Who's Online Function: &lt;?php ssi_logOnline(); ?&gt;</h3>
			<?php 
ssi_logOnline();
flush();
?>

		<hr />

			<h3>Welcome Function: &lt;?php ssi_welcome(); ?&gt;</h3>
			<?php 
ssi_welcome();
flush();
?>

		<hr />

			<h3>News Function: &lt;?php ssi_news(); ?&gt;</h3>
			<?php 
ssi_news();
flush();
?>

		<hr />

			<h3>Board News Function: &lt;?php ssi_boardNews(); ?&gt;</h3>
			<?php