Source for file map.core.php
Documentation is available at map.core.php
* @author PHPShop Software
while (($file = readdir($dh)) !== false) {
if($file != "." and $file != "..") {
$fp = fopen($dir. $file, "r");
$Content= @fread($fp,$fstat['size']);
if(empty($title)) $title= $filename[0]. ".html";
if(!empty($meta['title'])) {
$this->set('productName',$meta['title']);
$this->set('pageWords',$this->words);
$this->set('pageLink',$filename[0]. ".html");
$this->set('productNum',$i);
$this->add('<p><br></p>',true);
* Экшен по умолчанию, вывод карты по страницам, новостям и отзывам
$this->set('searchString',$this->words);
$this->title= "Карта сайта - ". $this->PHPShopSystem->getValue("name");
|