oDb->getRows("SELECT name,alias,is_course FROM ".Conf::getT('vendor')." WHERE vendor_id!='".$_CONF['vendor_to_hide']."' AND is_hidden=0 AND is_deleted=0 AND is_course=0 ORDER BY name"); $aExams = $oExam->oDb->getRows("SELECT e.exam_id, e.code, e.alias, e.is_hidden FROM ".Conf::getT('exam')." e, ".Conf::getT('vendor')." v WHERE v.vendor_id!='".$_CONF['vendor_to_hide']."' AND v.is_hidden=0 AND v.is_deleted=0 AND v.is_course=0 AND v.vendor_id=e.vendor_id AND e.is_deleted=0 AND e.is_hidden=0 ORDER BY e.code"); $aFiles=$oExam->oDb->getRows("SELECT f.id, f.alias FROM vcefile f, ".Conf::getT('exam')." e, ".Conf::getT('vendor')." v WHERE f.exam_id=e.exam_id AND v.vendor_id!='".$_CONF['vendor_to_hide']."' AND v.is_hidden=0 AND v.is_deleted=0 AND v.is_course=0 AND v.vendor_id=e.vendor_id AND e.is_deleted=0 AND e.is_hidden=0"); $temp = $oExam->oDb->getHash("SELECT exam_id, max(mdate) FROM ".Conf::getT('product')." WHERE is_sample=0 AND is_deleted=0 GROUP BY exam_id"); $date_ar=array(); while (list($key,$val)=each($aExams)) { if (!empty($temp[$val['exam_id']])) $date_ar[$val['alias']]=$temp[$val['exam_id']]; } reset($aExams); header ("content-type: text/xml"); echo ' '.Conf::get('url').' '.date('Y-m-d').'T'.date('H:i:s').'+00:00 1.0 daily '.Conf::getUrl('member.public.faq').' '.date('Y-m-d').'T'.date('H:i:s').'+00:00 0.9 monthly '.Conf::getUrl('member.public.allvendors').' '.date('Y-m-d').'T'.date('H:i:s').'+00:00 0.4 monthly '.Conf::getUrl('member.public.contact').' '.date('Y-m-d').'T'.date('H:i:s').'+00:00 0.2 monthly '; while (list($key,$val)=each($aVendors)) if ($val['is_course']=='0') { echo ' '.Conf::getUrl('member.public.vendor', array('alias'=>strtolower($val['alias']))).' '.date('Y-m-d').'T'.date('H:i:s').'+00:00 0.3 daily '; } while (list($key,$val)=each($aExams)) { if (empty($date_ar[$val['alias']])) { $date=date('Y-m-d'); $time=date('H:i:s'); } else { $date=date('Y-m-d', strtotime($date_ar[$val['alias']])); $time=date('H:i:s', strtotime(rand(0,23).'hours '.rand(0,59).' minutes '.rand(0,59).'seconds'));// table product doesn't contain minutes } ($val['is_hidden']=='0') ? $pr=0.5 : $pr=0.3; echo ' '.Conf::getUrl('member.public.exam', array('alias'=>$val['alias'])).' '.$date.'T'.$time.'+00:00 '.$pr.' daily '; } while (list($key,$val)=each($aFiles)) echo ' '.Conf::getUrl('member.public.vcefile', array('alias'=>$val['alias'])).' '.date('Y-m-d').'T'.date('H:i:s').'+00:00 0.6 daily '; echo ''; exit; ?> Exam Collection :: Public

SPECIAL OFFER: GET 10% OFF

ExamCollection PREMIUM

Get Unlimited Access to all ExamCollection's PREMIUM files!

Please enter a correct Email Address

Enter Your Email Address to Receive Your 10% Off Discount Code

A Confirmation Link will be sent to this email address to verify your login

We value your privacy.
We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

EXAMCOLLECT10

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Shop Now