All pastes #123692 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-08-09 14:32 UTC
rendered paste body
<HTML>
<HEAD>
<script type="text/javascript" src="http://fc-guild.org/joomla/itemstats/overlib/overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
<TITLE>Hello, World Page!</TITLE>
</HEAD>
<BODY>
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<a href="javascript:void(0);" onmouseover="return overlib('This is what
  we call a sticky, since I stick around (it goes away if you move the mouse
  OVER and then OFF the overLIB popup--or mouseover another overLIB).',
  STICKY, MOUSEOFF);" onmouseout="return nd();">here</a>
</BODY>
</HTML>
<?php
/**
*
* @version 1.0
* Mambo is Free Software
*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $ueConfig, $my, $mosConfig_lang, $mosConfig_absolute_path, $mosConfig_live_site;
$database->setQuery("SELECT daynote FROM my_tc_daynotes WHERE CURDATE() + 0 = yyyymmdd AND username='all'");
$dbArray = $database->loadAssocList();
$dbArray = $dbArray[0];
$todays_raid = $dbArray['daynote'];
if(is_null($todays_raid)==true){
   echo "No raid has been added for today";
} 
else {
   echo $todays_raid;
}
$number = date('j')-1;

$result = mysql_query("SELECT template FROM my_tc_templates WHERE year = 2006 AND month = '08'")
or die(mysql_error());
while ($row = mysql_fetch_array($result)) {
$template =	$row[template];
if($template{$number}=='F')$i++;
}
$i= $i-1;
echo "<table bgcolor=#00FF00>";
echo "<tr>";
echo "<td><span style=\"color: #000000;\">$i</span></td>";
echo "</tr>";
echo "</table>"
?>