<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */
  
  // load viewer library
  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';
  $dirsToCheck = array('/var/www/sites/www.osga.com/html/','','../','../../','../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }

  // load records from 'articles'
  list($articlesRecords, $articlesMetaData) = getRecords(array(
    'tableName'   => 'articles',
    'perPage'     => '10',
    'loadUploads' => false,
    'allowSearch' => false,
  ));

?>





<title>Online Gambling News</title>
<style type="text/css">

a:link {text-decoration:none;}
a:visited {text-decoration:none;}
a:hover {text-decoration:underline;}
a:active {text-decoration:underline;}


.nav-style1 {
	font-size: small;
	font-family: Arial, sans-serif;
	color: #000;	
}

.text-style1 {
	font-size: small;
	font-family: Arial, sans-serif;
	color: #000;	
}

.boxheader-style1 {
	font-size: medium;
	font-family: Arial, sans-serif;
	color: #900;
	font-weight: bold;
}

.boxheader-style2 {
	font-size: medium;
	font-family: Arial, sans-serif;
	color: #900;
	font-weight: bold;
	text-decoration: blink;
}
.boxheader-style3 {
	font-size: medium;
	font-family: Arial, sans-serif;
	color: #fff;
	font-weight: bold;
    background-color: #02192b
}
.link-style1 {
	font-size: small;
	font-family: Arial, sans-serif;
	font-weight: bold;
}
ul
{
list-style-type:none;
margin:0;
padding:0;

}

body 
{
background:  #02192b url(images/Untitled-1.jpg) repeat-x top center;
}
.white {
	color: #FFF;
}
</style>

<script>

var doPopUpX = (screen.width/2)-300;
var doPopUpY = (screen.height/2)-500;
var pos = "left="+doPopUpX+",top="+doPopUpY;

function doPopUp3(){
doPopUpWindow = window.open("http://www.osga.com/Demo/","Tour","scrollbars=no,resizable=no,width=800,height=600,"+pos);
}

</script>



<table style="width: 900px" align="center" cellpadding="0" cellspacing="0" >
<tr>
 <td align="center"><!--#include virtual="2011_mainheader.txt" -->		</td>
	</tr>

		<tr>
		<td style="background: #fff">
		<!-- Begin MAIN CONTENT AREA -->
		

		<table cellpadding="3" style="width: 900px" bgcolor="#ffffff" align="center">
		<tr>
		  <td rowspan="2" align="center" valign="top" style="width: 250px; background-color: #ffffff;">

			  <!--#include virtual="2011homenav/2015nav_sb.txt" -->	  </td>
		  <td colspan="2" valign=top bgcolor="#FFFFFF" class="arttext"><div align="center"><img src="images/2011topic_header_news.jpg" /></div></td>
		  </tr>
		<tr>
		
			<td valign=top class="arttext" width="238" bgcolor="#FFFFFF">
			  <br/><br/>
			 <!-- Display Records (Paste this where you want your records to be listed) -->

      <span style="font-family:arial">
      <?php foreach ($articlesRecords as $record): ?>
      <strong><span class="boxheader-style1"><?php echo $record['categoryNum:label'] ?></span></strong><br/>
      <strong><span style="font-size:13px"><?php echo htmlencode($record['title']) ?><br/></span></strong>
      <strong><span style="font-size:11px"><?php echo date("D, M jS, Y g:i:s a", strtotime($record['date'])) ?></span></strong><br/>
      <span style="font-size:11px"><?php echo htmlencode($record['summary']) ?></span><br/>
      <span style="font-size:11px"><a href="<?php echo $record['_link'] ?>">Read More...</a></span><br/>

     <br/>

     <?php endforeach ?>
     <?php if (!$articlesRecords): ?>
     No records were found!<br/><br/>
     <?php endif ?>

  <!-- /STEP2: Display Records -->
  <!-- STEP3: Display Page Links (Paste anywhere below "Load Record List") -->
   <span style="font-size:13px; font: arial;">
    <?php if ($articlesMetaData['prevPage']): ?>
      <a href="<?php echo $articlesMetaData['prevPageLink'] ?>">&lt;&lt; prev</a>
    <?php else: ?>
      &lt;&lt; prev
    <?php endif ?>

    - page <?php echo $articlesMetaData['page'] ?> of <?php echo $articlesMetaData['totalPages'] ?> -

    <?php if ($articlesMetaData['nextPage']): ?>
      <a href="<?php echo $articlesMetaData['nextPageLink'] ?>">next &gt;&gt;</a>
    <?php else: ?>
      next &gt;&gt;
    <?php endif ?>
    </span>
  <!-- /STEP3: Display Page Links -->
   
		</span>  </td>
  <td valign=top class="arttext" width="250" bgcolor="#FFFFFF">
  
  
 <br />  <br /> 
  
  
<!--#include virtual="singleart_cms.php?categoryNum=61" -->
<!--#include virtual="singleart_cms.php?categoryNum=62" -->
<!--#include virtual="singleart_cms.php?categoryNum=18" -->                      
<!--#include virtual="singleart_cms.php?categoryNum=16" -->     
<!--#include virtual="singleart_cms.php?categoryNum=39" --> 
<!--#include virtual="singleart_cms.php?categoryNum=23" -->
<!--#include virtual="singleart_cms.php?categoryNum=22" -->  
<!--#include virtual="singleart_cms.php?categoryNum=41" -->
<!--#include virtual="singleart_cms.php?categoryNum=28" -->
<!--#include virtual="singleart_cms.php?categoryNum=29" -->
   

  </td>
			
		</tr>
		</table>            		
		
		<!-- End MAIN CONTENT AREA -->
	
  <tr bgcolor="#02192b">
		<td width="900" colspan="2">
		
		<div align="center">
		<IFRAME border="0" frameborder="0" padding="0" hspace="2" vspace="0" src="http://www.osga.com/2011_footer.html" width="900" height="375" noresize scrolling="no" target="_blank"> 
 		</IFRAME>
		</div>
					
        </td>
		</tr>
	
	</td>
	</tr>
</table>



