Esempio n. 1
0
    echo tag('a', $userImage . strtok($this->session->userdata('username'), " ") . $caret, array('href' => '#', 'class' => 'dropdown-toggle', 'data-toggle' => 'dropdown'));
    ?>
		          	<ul class="dropdown-menu">
		          		<?php 
    $url = $domain . '/users/profile/' . $this->session->userdata('userid') . '/' . seoURL($this->session->userdata('username'));
    echo tag('a', lang('profile'), array('href' => $url, 'wrapTag' => 'li'));
    echo tag('a', lang('recipe'), array('href' => $url . '?param=InsertRecipe', 'wrapTag' => 'li'));
    echo tag('a', lang('recook'), array('href' => $url . '?param=Recook', 'wrapTag' => 'li'));
    echo tag('a', lang('cookmark'), array('href' => $url . '?param=Cookmark', 'wrapTag' => 'li'));
    echo divider();
    echo tag('a', lang('contest'), array('href' => $domain . '/recipe/my_contest', 'wrapTag' => 'li'));
    echo tag('a', lang('account_setting'), array('href' => $domain . '/users/', 'wrapTag' => 'li'));
    echo divider();
    if ($this->session->userdata('userrole') == 1) {
        echo tag('a', lang('create_article'), array('href' => $domain . '/users/article', 'wrapTag' => 'li'));
        echo divider();
    }
    echo tag('a', lang('logout'), array('href' => $domain . '/users/logout', 'wrapTag' => 'li'));
    ?>
		          	</ul>
		        </li>
		        <?php 
} else {
    $method_name = ucwords($this->router->method);
    $ajax_login_class = 'ajax-modal';
    $display_text = 'Login';
    if ($method_name == 'Login' || $method_name == 'Register') {
        $ajax_login_class = '';
        if ($method_name == 'Login') {
            $display_text = 'Register';
        }
Esempio n. 2
0
            <td><?php 
echo $row['LongestBookLength'];
?>
 chars</td>  
          </tr> 
          <tr>  
            <td>Most common license</td>  
            <td><?php 
echo $row['FavLicense'];
?>
</td>  
          </tr> 
        </tbody>  
      </table>  
        <?php 
divider();
?>
     
        <!---<p>Last updated on <?php 
echo $row['Date'];
?>
</p>--->
        <p>These stats are generated every 10 minutes using the query service.</p>  
    </div> 
    </div>
       <?php 
footer();
?>
    
    </div>
  </body>
Esempio n. 3
0
    ?>

			<?php 
    if ($this->params->get('issue_show_version', 1)) {
        ?>
				<dt><?php 
        echo JText::_('COM_MONITOR_VERSION');
        ?>
:</dt>
				<dd>
					<?php 
        echo $this->item->version;
        ?>
				</dd>
				<?php 
        divider($infoCount);
    }
    ?>
		</dl>
	</div>
	<?php 
}
?>
	<?php 
echo $this->item->event->beforeDisplayContent;
?>
	<div class="issue-description" itemprop="text">
		<?php 
echo $this->item->text;
?>
	</div>