DESCRIPTION:

COMFI PHONE CARDS BEST RATES EXPORT IN HTML FORMAT

USAGE:

  • One Serie
  • Several Series (with sample css)
  • NO HEADER
  • Limit output to random 14 rates out of given Use "_" to replace space Do not forget to pass your pushline shop using SITE parameter

    CSS classes:

    table.rt_tbl - table td.rt_hdr - header style td.rt_n1, a.rt_n1, td.rt_r1 - odd lines td.rt_n2, a.rt_n2, td.rt_n2 - even lines Example <style> table.rt_tbl { width: 150px; } td.rt_hdr { padding: 2px; background: #F3901B; color: white; font-weight: bold; font-size: 14px } tr.rt_n1 { background: #ffffff} tr.rt_n2 { background: #f5f5f5} a.rt_n1, a.rt_n2, td.rt_r1,td.rt_r2 {font-size: 10px; color:#6D6EB6; font-family:tahoma; } a.rt_n1, a.rt_n2 { text-decoration:none;font-weight:bold;} a.rt_n1:hover, a.rt_n2:hover {color:#F3901B;} </style>

    Usage Notes

    Do not call this script often Use caching technique and call this page once in an hour

    Caching Script Example

    function get_file($url,$fn,$timeout=3600) { # update once in 3600 seconds( once in an hour ) $tm=filemtime($fn); if(time()-$tm>$timeout) { $content = join ('', file ($url)); if(strlen($content)>80) { $fp=fopen(,"w"); flock($fp,2); fwrite($fp,$content); fclose($fp); return $content; } } return join ('', file($fn)); } echo get_file("http://export.pushline.com/export/rates.php/Midle_East:148,168,151,97,66", 'comfi-rates.dyn');