Menu

Staff Block

2014-12-28
2014-12-28
  • amir Bassir

    amir Bassir - 2014-12-28
    name:               staffblock
    version:            1.5.0
    Developer:          amir christ
    Server Requirement: ioncube loader
    
    {if Phpfox::getLib('module')->getFullControllerName() != 'staffblock.index'}
        {if Phpfox::getParam('staffblock.is_module_active')}
            {if Phpfox::getParam('staffblock.is_actice_staff_info')}
                {if $aCountAdmins != 0}
    <div style="background-color: #{$sAdminColor};" class="pfcstaffblock">
        <span style="float: right;">
            {phrase var='staffblock.user_admin'}
        </span>
        <span style="float: left;">
            {$aCountAdmins}&nbsp;{phrase var='staffblock.admin_count'}
        </span>
    </div>
        {if !Phpfox::getParam('staffblock.auto_resize') || $aCountAdmins < $aResizeCount}
    <div class="staffblock_images">
    <ul>
        {foreach from=$aUserImages name=adminusers item=aUserImage}
            <li>{img user=$aUserImage suffix='_50_square' max_width=$aMaxWidth max_height=$aMaxWidth}</li>
        {/foreach}
    </ul>
    </div>
    {else}
    <div class="staffblock_images">
    <ul>
        {foreach from=$aUserImages name=adminusers item=aUserImage}
            <li>{img user=$aUserImage suffix='_50_square' max_width=$aMinWidth max_height=$aMinWidth}</li>
        {/foreach}
    </ul>
    </div>
        {/if}
    <div class="separate"></div>
                {/if}
            {/if}
        {/if}
    {/if}
    
     
    • amir Bassir

      amir Bassir - 2014-12-28

      This is HTML Codes and very soon, I'll share Php codes

       
  • amir Bassir

    amir Bassir - 2014-12-28

    Anouncement

    <?php
    /**
     * [PHPFOX_HEADER]
     */
    
    defined('PHPFOX') or exit('NO DICE!');
    
    /**
     * 
     * 
     * @copyright       phpfoxclub.ir (c) 2014
     * @author          amir christ
     * @package         Module_staffblock
     * @version         $Id: annuncement.html.php 2014-10-24 amir christ $
     */
    
    ?>
    
    <link type="text/css" rel="stylesheet" href="{$sSiteUrl}module/staffblock/static/css/default/default/staffblock.css">
    <script type="text/javascript" src='{$sSiteUrl}module/staffblock/static/jscript/staffblock.js'></script>
    
    {if Phpfox::getLib('module')->getFullControllerName() != 'staffblock.annuncement'}
        {if Phpfox::getParam('staffblock.is_active')}
            <div class="annuncement" style="background-color: #{$sAnnuncementBgcolor}; box-shadow: 0 0 0 4px #{$sAnnuncementBgcolor}, 2px 1px 6px 4px rgba(10, 10, 0, 0.5); color: #{$sAnnuncementFontcolor}; font-size: {$sAnnuncementFontsize}px;">
                <marquee dir="rtl" direction="right" scrollamount="4" onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=1">
                    {$sAnnuncementMessage}
                </marquee>
            </div>
        {/if}
    {/if}
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.