<?php ############################################################## ##In-portal ## ############################################################## ## In-portal ## ## Intechnic Corporation ## ## All Rights Reserved, 1998-2002 ## ## ## ## No portion of this code may be copied, reproduced or ## ## otherwise redistributed without proper written ## ## consent of Intechnic Corporation. Violation will ## ## result in revocation of the license and support ## ## privileges along maximum prosecution allowed by law. ## ############################################################## global $rootURL, $imagesURL, $adminURL,$admin; if(!$pathtoroot) die('error: no base path defined'); //$rootURL="http://".ThisDomain().$objConfig->Get("Site_Path"); $localURL=$rootURL."in-news/"; //$imagesURL = $rootURL."admin/images"; //admin only util $pathtolocal = $pathtoroot."in-news/"; require_once ($pathtolocal."admin/include/navmenu.php"); //Set Environment Variable $envar = "env=" . BuildEnv($mod_prefixes); //Display header $section = 'in-news:reviews'; if( $objSession->HasCatPermission("NEWS.VIEW") ) { ?> <!-- NEWS --> <div id="news_reviews" class="ini_tab" isTab="true" tabTitle="News" PrefixSpecial="rev.articles" ActionPrefix="m_review_direct_" EditURL="admin/addreview_direct"> <table cellSpacing=0 cellPadding=2 width="100%" class="tabTable"> <tbody> <tr> <td align="left" width="70%"> <img height=15 src="<?php echo $imagesURL; ?>/arrow.gif" width=15 align=absMiddle border=0> <b class=text><?php echo prompt_language("la_Page"); ?></b> <?php print $objArticleReviewList->GetAdminPageLinkList($_SERVER["PHP_SELF"]); ?> </td> <td align="right" width="30%"> <?php ShowSearchForm('n', $envar, 'news_reviews','_review_direct_search'); ?> </td> </tr> </tbody> </table> <br> <form name=news_reviews_form action="" method=post> <input type="hidden" name="Action"> <table cellSpacing=0 cellPadding=2 width="100%" border=0> <tbody> <?php //print adListArticles($pathtolocal."admin/templates/news_element.tpl"); print $objArticleReviewList->AdminPrintItems($pathtolocal."admin/templates/news_review_element.tpl"); ?> </tbody> </table> </form> </div> <!-- END NEWS --> <?php } ?>