Вход Регистрация
Файл: content/themes/admin/templates_c/f0bf920867eefecb9ce98b81f0ef480e155a9631.file.index.tpl.php
Строк: 751
<?php /* Smarty version Smarty-3.1.11, created on 2013-09-11 02:29:41
         compiled from "/home/p110476/www/net.wm-scripts.ru/content/themes/admin/templates/index.tpl" */ 
?>
<?php 
/*%%SmartyHeaderCode:1721388879522f9d55acc014-11930123%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid $_smarty_tpl->decodeProperties(array (
  
'file_dependency' => 
  array (
    
'f0bf920867eefecb9ce98b81f0ef480e155a9631' => 
    array (
      
=> '/home/p110476/www/net.wm-scripts.ru/content/themes/admin/templates/index.tpl',
      
=> 1378851653,
      
=> 'file',
    ),
  ),
  
'nocache_hash' => '1721388879522f9d55acc014-11930123',
  
'function' => 
  array (
  ),
  
'variables' => 
  array (
    
'translate' => 0,
    
'SITE_URL' => 0,
    
'view' => 0,
    
'insights' => 0,
    
'highlight' => 0,
    
'systemSetting' => 0,
  ),
  
'has_nocache_code' => false,
  
'version' => 'Smarty-3.1.11',
  
'unifunc' => 'content_522f9d561f9d97_65914470',
),
false); /*/%%SmartyHeaderCode%%*/?>
<?php 
if ($_valid && !is_callable('content_522f9d561f9d97_65914470')) {function content_522f9d561f9d97_65914470($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('_head.tpl'$_smarty_tpl->cache_id$_smarty_tpl->compile_idnullnull, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ('header.tpl'$_smarty_tpl->cache_id$_smarty_tpl->compile_idnullnull, array(), 0);?>

    
<div class="container" style="padding-top: 80px;">
    <div class="row">
        
        <div class="span3">
            <div class="well" style="max-width: 340px; padding: 8px 0;">
                <ul class="nav nav-list">
                    <li class="nav-header"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("System");?>
</li>
                    <li><a href="<?php echo $_smarty_tpl->tpl_vars['SITE_URL']->value;?>
/admin/index.php?tab=dashboard"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Insights");?>
</a></li>
                    <li><a href="<?php echo $_smarty_tpl->tpl_vars['SITE_URL']->value;?>
/admin/index.php?tab=settings"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Settings");?>
</a></li>
                </ul>
            </div>
        </div>
        
        <div class="span9">
            <section>
                
                <ul class="breadcrumb">
                    <?php if ($_smarty_tpl->tpl_vars['view']->value=="dashboard"){?>
                        <li class="active"><i class="icon-home"></i> <?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Dashboard");?>
</li>
                    <?php }elseif($_smarty_tpl->tpl_vars['view']->value=="settings"){?>
                        <li><a href="<?php echo $_smarty_tpl->tpl_vars['SITE_URL']->value;?>
/admin/index.php?tab=dashboard"><i class="icon-home"></i> <?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Dashboard");?>
</a> <span class="divider">/</span></li>
                        <li class="active"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Settings");?>
</li>
                    <?php }?>
                </ul>
                
                <?php if ($_smarty_tpl->tpl_vars['view']->value=="dashboard"){?>
                    
                    <div class="row-fluid">
                        
                        <div class="span8">
                            <div class="portlet box blue">
                                <div class="portlet-title" style="">
                                    <div class="caption"><i class="icon-bar-chart"></i><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Stats");?>
</div>
                                </div>
                                <div class="portlet-body">
                                    <div class="row-fluid">
                                        <div class="span3">
                                            <div class="easy-pie-chart">
                                                <div class="chart" data-percent="<?php echo $_smarty_tpl->tpl_vars['insights']->value['activeUsersPercent'];?>
"><?php echo $_smarty_tpl->tpl_vars['insights']->value['activeUsersPercent'];?>
%</div>
                                                <a class="title"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Active Users");?>
 <br /><span class="badge"><?php echo $_smarty_tpl->tpl_vars['insights']->value['activeUsers'];?>
</span></a>
                                            </div>
                                        </div>
                                        <div class="margin-bottom-10 visible-phone"></div>
                                        <div class="span3">
                                            <div class="easy-pie-chart">
                                                <div class="chart" data-percent="<?php echo $_smarty_tpl->tpl_vars['insights']->value['notVerifiedUsersPercent'];?>
"><?php echo $_smarty_tpl->tpl_vars['insights']->value['notVerifiedUsersPercent'];?>
%</div>
                                                <a class="title"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Not Verrified");?>
 <br /><span class="badge"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['notVerifiedUsers'],0,".",",");?>
</span></a>
                                            </div>
                                        </div>
                                        <div class="margin-bottom-10 visible-phone"></div>
                                        <div class="span3">
                                            <div class="easy-pie-chart">
                                                <div class="chart" data-percent="<?php echo $_smarty_tpl->tpl_vars['insights']->value['malePercent'];?>
"><?php echo $_smarty_tpl->tpl_vars['insights']->value['malePercent'];?>
%</div>
                                                <a class="title"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Males");?>
 <br /><span class="badge"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['maleUsers'],0,".",",");?>
</span></a>
                                            </div>
                                        </div>
                                        <div class="margin-bottom-10 visible-phone"></div>
                                        <div class="span3">
                                            <div class="easy-pie-chart">
                                                <div class="chart" data-percent="<?php echo $_smarty_tpl->tpl_vars['insights']->value['femalePercent'];?>
"><?php echo $_smarty_tpl->tpl_vars['insights']->value['femalePercent'];?>
%</div>
                                                <a class="title"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Females");?>
 <br /><span class="badge"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['femaleUsers'],0,".",",");?>
</span></a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="span4">
                            <div class="portlet sale-summary">
                                <div class="portlet-title">
                                    <div class="caption"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Insights");?>
</div>
                                </div>
                                <ul class="unstyled">
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Users");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['totalUsers'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Online Now");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['onlines'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Blocked Users");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['blockedUsers'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Users Connections");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['usersConnections'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Messages");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['messages'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Notifications");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['notifications'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Posts");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['posts'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Comments");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['comments'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Posts Favorites");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['favorites'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Posts Likes");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['postsLikes'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Comments Likes");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['commentsLikes'],0,".",",");?>
</span>
                                    </li>
                                    <li>
                                        <span class="sale-info"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Total Likes");?>
</span>
                                        <span class="sale-num"><?php echo number_format($_smarty_tpl->tpl_vars['insights']->value['totLikes'],0,".",",");?>
</span>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    
                    </div>
                    
                <?php }elseif($_smarty_tpl->tpl_vars['view']->value=="settings"){?>
                    
                    <?php if ($_smarty_tpl->tpl_vars['highlight']->value!=''){?><div class="alert alert-success"><?php echo $_smarty_tpl->tpl_vars['highlight']->value;?>
</div><?php }?>
                    <form class="form-horizontal" method="post" action="<?php echo $_smarty_tpl->tpl_vars['SITE_URL']->value;?>
/admin/index.php?tab=settings">
                        <fieldset>
                            
                            <div id="legend" class="">
                                <legend class=""><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Edit System");?>
</legend>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("System Live");?>
</label>
                                <div class="controls">
                                    <label class="radio inline">
                                        <input type="radio" name="site_active" <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['SystemLive']=="Y"){?>checked="checked"<?php }?> value="Y"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Yes");?>

                                    </label>
                                    <label class="radio inline">
                                        <input type="radio" name="site_active" <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['SystemLive']=="N"){?>checked="checked"<?php }?> value="N"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("No");?>

                                    </label>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Turn the entire site On and Off");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Shutdown Message");?>
</label>
                                <div class="controls">
                                    <div class="textarea">
                                        <textarea name="shutdown_message"><?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['SystemMessage'];?>
</textarea>
                                        <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The text that is presented when the site is closed");?>
</p>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Registration Active");?>
</label>
                                <div class="controls">
                                    <label class="radio inline">
                                        <input type="radio" name="registration_active" <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['RegistrationLive']=="Y"){?>checked="checked"<?php }?> value="Y"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Yes");?>

                                    </label>
                                    <label class="radio inline">
                                        <input type="radio" name="registration_active" <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['RegistrationLive']=="N"){?>checked="checked"<?php }?> value="N"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("No");?>

                                    </label>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Turn registration On and Off");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("System Title");?>
</label>
                                <div class="controls">
                                    <input type="text" name="SystemTitle" value="<?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['SystemTitle'];?>
" />
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Title of your system");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("System Description");?>
</label>
                                <div class="controls">
                                    <textarea name="SystemDescription"><?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['SystemDescription'];?>
</textarea>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Description of your system");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("System Domain");?>
</label>
                                <div class="controls">
                                    <input type="text" name="SystemDomain" value="<?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['SystemDomain'];?>
" />
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Like: sngine.com (without 'www')");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("System URL");?>
</label>
                                <div class="controls">
                                    <input type="text" name="SystemURL" value="<?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['SystemURL'];?>
" />
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The path of your system");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("RECAPTCHA PUBLICKEY");?>
</label>
                                <div class="controls">
                                    <textarea name="RECAPTCHA_PUBLICKEY"><?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['RECAPTCHA_PUBLICKEY'];?>
</textarea>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("RECAPTCHA PRIVATEKEY");?>
</label>
                                <div class="controls">
                                    <textarea name="RECAPTCHA_PRIVATEKEY"><?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['RECAPTCHA_PRIVATEKEY'];?>
</textarea>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Twitter APPID");?>
</label>
                                <div class="controls">
                                    <textarea name="TW_APPID"><?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['TW_APPID'];?>
</textarea>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Twitter SECRET");?>
</label>
                                <div class="controls">
                                    <textarea name="TW_SECRET"><?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['TW_SECRET'];?>
</textarea>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Facebook APPID");?>
</label>
                                <div class="controls">
                                    <textarea name="FB_APPID"><?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['FB_APPID'];?>
</textarea>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Facebook SECRET");?>
</label>
                                <div class="controls">
                                    <textarea name="FB_SECRET"><?php echo $_smarty_tpl->tpl_vars['systemSetting']->value['FB_SECRET'];?>
</textarea>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Results/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxResults">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==20){?>selected="selected"<?php }?> value="20">20</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==25){?>selected="selected"<?php }?> value="25">25</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==30){?>selected="selected"<?php }?> value="30">30</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==35){?>selected="selected"<?php }?> value="35">35</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==40){?>selected="selected"<?php }?> value="40">40</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==45){?>selected="selected"<?php }?> value="45">45</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxResults']==50){?>selected="selected"<?php }?> value="50">50</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of search results per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Posts/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxFeeds">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==20){?>selected="selected"<?php }?> value="20">20</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==25){?>selected="selected"<?php }?> value="25">25</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==30){?>selected="selected"<?php }?> value="30">30</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==35){?>selected="selected"<?php }?> value="35">35</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==40){?>selected="selected"<?php }?> value="40">40</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==45){?>selected="selected"<?php }?> value="45">45</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxFeeds']==50){?>selected="selected"<?php }?> value="50">50</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of posts per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Media/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxMediaFeeds">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==12){?>selected="selected"<?php }?> value="12">12</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==18){?>selected="selected"<?php }?> value="18">18</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==21){?>selected="selected"<?php }?> value="21">21</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==24){?>selected="selected"<?php }?> value="24">24</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==27){?>selected="selected"<?php }?> value="27">27</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==30){?>selected="selected"<?php }?> value="30">30</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==33){?>selected="selected"<?php }?> value="33">33</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxMediaFeeds']==36){?>selected="selected"<?php }?> value="36">36</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of media posts (photos &amp; videos) per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Quick Comments");?>
</label>
                                <div class="controls">
                                    <select name="MaxQComments">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxQComments']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxQComments']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxQComments']==20){?>selected="selected"<?php }?> value="20">20</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of quick comments");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Featured Comments");?>
</label>
                                <div class="controls">
                                    <select name="MaxQCommentsViewed">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxQCommentsViewed']==3){?>selected="selected"<?php }?> value="3">3</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of featured comments");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Comments/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxComments">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxComments']==5){?>selected="selected"<?php }?> value="5">5</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxComments']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxComments']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxComments']==20){?>selected="selected"<?php }?> value="20">20</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxComments']==25){?>selected="selected"<?php }?> value="25">25</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxComments']==30){?>selected="selected"<?php }?> value="30">30</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of comments per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Replies/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxReplies">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxReplies']==5){?>selected="selected"<?php }?> value="5">5</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxReplies']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxReplies']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxReplies']==20){?>selected="selected"<?php }?> value="20">20</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxReplies']==25){?>selected="selected"<?php }?> value="25">25</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxReplies']==30){?>selected="selected"<?php }?> value="30">30</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of replies per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Answers/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxAnswers">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxAnswers']==5){?>selected="selected"<?php }?> value="5">5</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxAnswers']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxAnswers']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxAnswers']==20){?>selected="selected"<?php }?> value="20">20</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxAnswers']==25){?>selected="selected"<?php }?> value="25">25</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxAnswers']==30){?>selected="selected"<?php }?> value="30">30</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of answers per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Notes/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxNotes">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxNotes']==5){?>selected="selected"<?php }?> value="5">5</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxNotes']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxNotes']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxNotes']==20){?>selected="selected"<?php }?> value="20">20</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxNotes']==25){?>selected="selected"<?php }?> value="25">25</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxNotes']==30){?>selected="selected"<?php }?> value="30">30</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of notes per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Who/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxWho">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxWho']==50){?>selected="selected"<?php }?> value="50">50</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxWho']==100){?>selected="selected"<?php }?> value="100">100</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxWho']==150){?>selected="selected"<?php }?> value="150">150</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxWho']==200){?>selected="selected"<?php }?> value="200">200</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of who results (like &amp; dislike &amp; favorite) per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Users/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxPeople">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==20){?>selected="selected"<?php }?> value="20">20</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==25){?>selected="selected"<?php }?> value="25">25</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==30){?>selected="selected"<?php }?> value="30">30</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==35){?>selected="selected"<?php }?> value="35">35</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==40){?>selected="selected"<?php }?> value="40">40</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==45){?>selected="selected"<?php }?> value="45">45</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxPeople']==50){?>selected="selected"<?php }?> value="50">50</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of users per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <label class="control-label"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Messages/Request");?>
</label>
                                <div class="controls">
                                    <select name="MaxConversations">
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxConversations']==10){?>selected="selected"<?php }?> value="10">10</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxConversations']==15){?>selected="selected"<?php }?> value="15">15</option>
                                        <option <?php if ($_smarty_tpl->tpl_vars['systemSetting']->value['MaxConversations']==20){?>selected="selected"<?php }?> value="20">20</option>
                                    </select>
                                    <p class="muted"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("The max number of messages per request");?>
</p>
                                </div>
                            </div>
                            
                            <div class="control-group">
                                <div class="form-actions">
                                    <button type="submit" class="btn btn-primary" name="submit"><?php echo $_smarty_tpl->tpl_vars['translate']->value->__("Save changes");?>
</button>
                                </div>
                            </div>
                            
                        </fieldset>
                    </form>
                <?php }?>
                
            </section>
        </div>
    </div>
</div>


    <script type="text/javascript">
        $(function() {
            //create instance
            $('.chart').easyPieChart({
                animate: 2000
            });
        });
    </script>


<?php echo $_smarty_tpl->getSubTemplate ('footer.tpl'$_smarty_tpl->cache_id$_smarty_tpl->compile_idnullnull, array(), 0);?>
<?php 
}} ?>
Онлайн: 3
Реклама