Location: PHPKode > projects > Esvon Personals > esvon-personals/modules/Faq/hw_user.php
<?php

// --------------------------------------------------------------------------
//
// Esvon Classifieds v.4.0
// Copyright(C), Esvon LTD, 2001-2010, All Rights Reserved.
// E-mail: hide@address.com
//
// All forms of reproduction, including, but not limited to, internet posting, 
// printing, e-mailing, faxing and recording are strictly prohibited.
// One license required per site running Esvon Classifieds. 
// To obtain a license for using Esvon Classifieds, please register at
// http://www.esvon.com/pg/products/p_classifieds/
//
// --------------------------------------------------------------------------

if(!defined('SITE_PATH')) die('Access denied');

function Faq_main(){

$a_q = hwReadTpl(HW_MOD_TPL.'faq.dat');

$a_q = explode('Q: ', $a_q);

array_shift($a_q);

$tpl = new HawkTpl;
$tpl->InitArray('r,t_r');

$z = array();
$z['i'] = 0;

foreach($a_q as $v){
  list($z['q'],$z['a'])=explode('A: ',$v);
  $z['i']++;
  $tpl->AddCell('r',$z);
  unset($z['a']);
  $tpl->AddCell('t_r',$z);
}

$tpl->Parse(HW_MOD_TPL.'faq.htm', '', 1);

}

?>
Return current item: Esvon Personals