| Current Path : /home/users/unlimited/www/facebook.codeskitter.site/sources/ |
| Current File : /home/users/unlimited/www/facebook.codeskitter.site/sources/my_products.php |
<?php
if ($wo['loggedin'] == false) {
header("Location: " . Wo_SeoLink('index.php?link1=welcome'));
exit();
}
if ($wo['config']['classified'] == 0) {
header("Location: " . Wo_SeoLink('index.php?link1=welcome'));
exit();
}
if (!$wo['config']['can_use_market']) {
header("Location: " . Wo_SeoLink('index.php?link1=welcome'));
exit();
}
$wo['have_products'] = $db->where('product_owner_id',$wo['user']['user_id'])->getValue(T_USER_ORDERS,'COUNT(*)');
$wo['description'] = $wo['config']['siteDesc'];
$wo['keywords'] = $wo['config']['siteKeywords'];
$wo['page'] = 'my_products';
$wo['title'] = $wo['lang']['my_products'];
$wo['content'] = Wo_LoadPage('products/my-products');