openside("name", true);
echo "content";
closeside();
Quote
slaughter wrote:
It is a part of the Core.
Use this:Code Download source
openside("name", true);
echo "content";
closeside();
openside("name", true);
?>
your html code here
<?php
closeside();
opensidex("panelname","on"); ?>
<br>text
<br>text
<br>text
text
<br>text
<br>text
<br>text
<? closesidex();
openside("name");
echo "content";
closeside();
opensidex("panelname", true[color=#ff0000], "off"[/color]);
Quote
Josso wrote:
If you want to close it from the start:Code Download sourceopensidex("panelname", true[color=#ff0000], "off"[/color]);
// v6 compatibility
function opensidex($title, $state = "on") {
openside($title, true, $state);
}
openside("panel title", true, "off");
openside("panel title", true, off);
openside("panel title", true, "off");
Quote
starefossen wrote:
Yeah, sinse off isn't a constant, you'll get an error. It needs to be sendt as text :P
This is the correct:openside("panel title", true, "off");
openside("panel title", false, "off");
Quote
starefossen wrote:
Here we go again ;)openside("panel title", false, "off");
openside("panel title", true, "off");
if (!defined("IN_FUSION")) { die("Access Denied"); }
if (file_exists(INFUSIONS."latest_downloads_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."latest_downloads_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."latest_downloads_panel/locale/English.php";
}
include INFUSIONS."latest_downloads_panel/downloads_db.php";
openside("Downoloads", true, "off");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 18)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
closeside();
?>
Category Forum
System Administration - 8Labels
None yet
Statistics
6 participants
Notifications
You are not receiving notifications from this thread.
Related Questions