Source for file links.core.php
Documentation is available at links.core.php
* Обработчик полезных ссылок
* @author PHPShop Software
$this->objBase= $GLOBALS['SysValue']['base']['table_name17'];
$this->objPath= "/links/links_";
$this->action= array("nav"=> "index","get"=> "add_forma","post"=> "send_gb");
$this->dataArray= parent::getListInfoItem(array('*'),array('enabled'=> "='1'"),array('order'=> 'id DESC'));
if(!isset ($this->dataArray)) return $this->setError404();
foreach($this->dataArray as $row) {
$this->set('linksImage',$row['image']);
$this->set('linksName',$row['name']);
$this->set('linksOpis',$row['content']);
$this->set('linksLink',$row['link']);
$this->title= "Полезные ссылки - ". $this->PHPShopSystem->getValue("name");
|