コード例 #1
0
ファイル: default.php プロジェクト: politik86/test2
<div class="span12">
	<?php 
    if ($conf->display_list_search == 1) {
        ?>
        <div class="span6">
		<?php 
        if ($this->catid != 0) {
            ?>
		<form action="<?php 
            echo TRoute::_('index.php?option=com_adsmanager&view=list&catid=' . $this->catid);
            ?>
" method="post">
		<?php 
        } else {
            if ($this->modeuser == 1) {
                $userurl = TLink::getUserAdsLink($this->listuser);
                ?>
		<form action="<?php 
                echo $userurl;
                ?>
" method="post">
		<?php 
            } else {
                ?>
		<form action="<?php 
                echo TRoute::_('index.php?option=com_adsmanager&view=list');
                ?>
" method="post">
		<?php 
            }
        }
コード例 #2
0
ファイル: default_list.php プロジェクト: politik86/test2
     }
     echo "<img alt='hot' src='" . getImagePath('hot.gif') . "' />";
     $iconflag = true;
 }
 if ($iconflag == true) {
     echo "</div>";
 }
 if (!isset($this->conf->display_column_date_date) || $this->conf->display_column_date_date == 1) {
     echo $this->reorderDate($content->date_created);
 }
 ?>
     <br />
     <?php 
 if ($content->userid != 0 && (!isset($this->conf->display_column_date_user) || $this->conf->display_column_date_user == 1)) {
     echo JText::_('ADSMANAGER_FROM') . " ";
     $target = TLink::getUserAdsLink($content->userid);
     if ($this->conf->display_fullname == 1) {
         echo "<a href='" . $target . "'>" . $content->fullname . "</a><br/>";
     } else {
         echo "<a href='" . $target . "'>" . $content->user . "</a><br/>";
     }
 }
 ?>
     <?php 
 if (!isset($this->conf->display_column_date_view) || $this->conf->display_column_date_view == 1) {
     echo sprintf(JText::_('ADSMANAGER_VIEWS'), $content->views);
 }
 ?>
     <?php 
 if (isset($this->conf->favorite_enabled) && $this->conf->favorite_enabled == 1 && ($this->conf->favorite_display == 'all' || $this->conf->favorite_display == 'list')) {
     ?>