forked from Vitexus/CE-Phoenix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharticle_reviews.php
More file actions
28 lines (19 loc) · 999 Bytes
/
article_reviews.php
File metadata and controls
28 lines (19 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*
$Id: article_reviews.php, v1.0 2003/12/04 12:00:00 ra Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
$article_info_query = tep_db_query("select a.articles_id, ad.articles_name from articles a, articles_description ad where a.articles_id = '" . (int)$_GET['articles_id'] . "' and a.articles_status = '1' and a.articles_id = ad.articles_id and ad.language_id = '" . (int)$languages_id . "'");
if (!tep_db_num_rows($article_info_query)) {
tep_redirect(tep_href_link('reviews.php'));
} else {
$article_info = tep_db_fetch_array($article_info_query);
}
$articles_name = $article_info['articles_name'];
require('includes/languages/' . $language . '/article_reviews.php');
require $oscTemplate->map_to_template(__FILE__, 'page');
require 'includes/application_bottom.php';