version 4.2
compatible with PHP 5.4 and earlier
This commit is contained in:
+56
@@ -0,0 +1,56 @@
|
||||
<!--
|
||||
www.vnlisting.com
|
||||
Online Super Bowl Squares Script
|
||||
Please read the "Readme.txt for license agreement, installation and usage instructions
|
||||
Version: 4.2 1/23/2013
|
||||
-->
|
||||
|
||||
<?php
|
||||
$query="SELECT * FROM VNSB_settings";
|
||||
$result = mysql_query($query);
|
||||
if ($record = mysql_fetch_assoc($result)) {
|
||||
$SB_DATE = $record['sb_date'];
|
||||
$SB_LOGO = $record['sb_logo'];
|
||||
$NFC_TEAM = $record['NFC_team'];
|
||||
$NFC_LOGO = $record['NFC_logo'];
|
||||
$AFC_TEAM = $record['AFC_team'];
|
||||
$AFC_LOGO = $record['AFC_logo'];
|
||||
$VERSION = $record['Version'];
|
||||
$ADMIN_EMAIL = $record['Admin_email'];
|
||||
$ADMIN_PASSWORD = $record['Admin_pwd'];
|
||||
$ADMIN_VERIFY = $record['Admin_verify'];
|
||||
$BET = $record['Bet'];
|
||||
$WIN_FIRST = $record['Win_first'];
|
||||
$WIN_SECOND = $record['Win_second'];
|
||||
$WIN_THIRD = $record['Win_third'];
|
||||
$WIN_FINAL = $record['Win_final'];
|
||||
$FIRST = (100 * (int)$BET ) * ((int)$WIN_FIRST/100);
|
||||
$SECOND = (100 * (int)$BET ) * ((int)$WIN_SECOND/100);
|
||||
$THIRD = (100 * (int)$BET ) * ((int)$WIN_THIRD/100);
|
||||
$FINAL = (100 * (int)$BET ) * ((int)$WIN_FINAL/100);
|
||||
} else {
|
||||
//echo mysql_error();
|
||||
echo "<br/>Sorry, Technical problem occurred... Can't read from database.<br><br> Please notify this site admin</a>";
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title>VNLISTING :: Online Super Bowl Squares v4</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="keywords" content="VNLISTING, superbowl squares, super bowl, nfl squares online, free softwares, free scripts, superbowl scripts"/>
|
||||
<meta name="description" content="The one and only fun and free NFL Super Bowl Squares Online."/>
|
||||
<meta name="robots" content="index,nofollow"/>
|
||||
</head>
|
||||
<body bgcolor="" link="#0033CC" vlink="#0033CC" alink="#CC0000" leftmargin="0" topmargin="10" marginwidth="0" marginheight="0">
|
||||
<!--body bgcolor="#99CCFF" link="#0033CC" vlink="#0033CC" alink="#CC0000" leftmargin="0" topmargin="10" marginwidth="0" marginheight="0"-->
|
||||
<center>
|
||||
<p>
|
||||
<table width="95%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><img src="<?=$SB_LOGO?>" border="0" title="Super Bowl Squares"></td>
|
||||
<td align="center"><h2><font color="#009900">Sunday, <?=$SB_DATE?></font></h3></td>
|
||||
<td align="right"><img src="<?=$AFC_LOGO?>" border="0" title="<?=$AFC_TEAM?>"> <b><font size="+2">vs</font></b> <img src="<?=$NFC_LOGO?>" border="0" title="<?=$NFC_TEAM?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br/>
|
||||
Reference in New Issue
Block a user