Файл: sm_ff/RU/templates/SIMPLE/adm_account/adm_admmain.tpl
Строк: 212
{* основной раздел *}
<div style="margin-top:
4px">
{literal}
<script
type="text/javascript">
function PrepereToSendItem(th) {
if (!confirm('Вы действительно хотите
выполнить выбранную операцию?')) { return false;
}
$('#globalbodydata').css('cursor', 'wait');
th.rb.disabled =
true;
return true;
}//PrepereToSendItem
</script>
{/literal}
<div style="border-bottom: 1px solid #C0C0C0;
padding-bottom: 4px; margin-top:
18px"><b>Информация
проекта</b></div>
<div style="margin-top:
4px">
<span style="width: 100%">
<table
width="100%" cellpadding="0" cellspacing="0"
border="0">
<tr>
<td
valign="center" align="left" height="22px"
width="230px" class="named_space"
style="border-bottom: 1px solid #F0F0F0">
Версия
проекта
</td>
<td valign="center"
align="left" height="22px" style="border-bottom:
1px solid #F0F0F0">
<strong>v 2.0 (fittie.ru
edition)</strong>
</td>
</tr>
<tr>
<td valign="center" align="left"
height="22px" width="230px"
class="named_space" style="border-bottom: 1px solid
#F0F0F0">
Дата сборки
</td>
<td
valign="center" align="left" height="22px"
style="border-bottom: 1px solid #F0F0F0">
<strong>14.11.2013</strong>
</td>
</tr>
<tr>
<td valign="center"
align="left" height="22px" width="230px"
class="named_space" style="border-bottom: 1px solid
#F0F0F0">
Инструментов
</td>
<td
valign="center" align="left" height="22px"
style="border-bottom: 1px solid #F0F0F0">
<strong>{$adm_object->GetResult('eiC')}</strong>
</td>
</tr>
<tr>
<td
valign="center" align="left" height="22px"
width="230px" class="named_space"
style="border-bottom: 1px solid #F0F0F0">
Оригинал
проекта, информация
</td>
<td
valign="center" align="left" height="22px"
style="border-bottom: 1px solid #F0F0F0">
<a
href="http://fittie.ru"
target="_blank">fittie.ru</a>
</td>
</tr>
</table>
</span>
</div>
<div style="border-bottom: 1px solid #C0C0C0;
padding-bottom: 4px; margin-top: 18px"><b>Кэш</b>
({$adm_object->GetResult('allcachsize')})</div>
<div
style="margin-top: 4px">
<form method="post"
name="c1" id="c1" onsubmit="return
PrepereToSendItem(this)">
<div>
Кэш
средних данных (числовые значения и
прочее..) -
<b>{$adm_object->GetResult('sizesortcach')}</b>
<span style="margin-left: 6px">
<input
type="submit"
value=" Очистить " name="rb"
id="rb" class="button">
</span>
</div>
<input type="hidden" value="do"
name="c1tableclear">
</form>
</div>
<div style="margin-top: 6px">
<form
method="post" name="c2" id="c2"
onsubmit="return PrepereToSendItem(this)">
<div>
Кэш больших данных (строки, блоки и т.д) -
<b>{$adm_object->GetResult('sizelongcach')}</b>
<span style="margin-left: 6px">
<input
type="submit"
value=" Очистить " name="rb"
id="rb" class="button">
</span>
</div>
<input type="hidden" value="do"
name="c2tableclear">
</form>
</div>
<div style="margin-top: 6px">
<form
method="post" name="c2" id="c2"
onsubmit="return PrepereToSendItem(this)">
<div>
Вся история показателей сайтов -
<b>{$adm_object->GetResult('sizehistory')}</b>
<span
style="margin-left: 6px">
<input type="submit"
value=" Очистить " name="rb"
id="rb" class="button">
</span>
</div>
<input type="hidden" value="do"
name="c3tableclear">
</form>
</div>
<div style="margin-top: 6px">
<form
method="post" name="c2" id="c2"
onsubmit="return PrepereToSendItem(this)">
<div>
<div>Очистить указанный кэш:</div>
<div style="margin-top: 2px">
<select
size="1" name="getcach">
{foreach
from=$adm_object->GetCachSpecialFormatList() key=plname item=val
name=val}
<option value="{$val}"{if
$smarty.post.getcach == $val}
selected="selected"{/if}>{$val}</option>
{/foreach}
</select>
<span
style="margin-left: 6px">
<input
type="submit"
value=" Очистить " name="rb"
id="rb" class="button">
</span>
</div>
</div>
<input type="hidden"
value="do" name="c4tableclearSpec">
</form>
</div>
<div style="border-bottom: 1px solid #C0C0C0;
padding-bottom: 4px; margin-top: 18px"><b>xml
api</b></div>
<div style="margin-top: 4px">
{foreach from=$adm_object->GetResult('xmlsettings.apitypes') key=ident
item=val name=val}
<div style="margin-top: 6px">
<div><strong>{$val.name}</strong></div>
<div
style="margin-top: 10px; margin-left: 7px">
<span
style="width: 100%">
<table width="100%"
cellpadding="0" cellspacing="0"
border="0">
{assign
var="apiinformationdataall"
value=$adm_object->GetApiInformationAll($val.id)}
<tr>
<td valign="center" align="left"
height="22px" width="230px"
class="named_space" style="border-bottom: 1px solid
#F0F0F0">
Статус:
</td>
<td
valign="center" align="left" height="22px"
style="border-bottom: 1px solid #F0F0F0">
{if $val.enabled
&& $adm_object->GetResult('xmlsettings.enabled')}
<label style="color:
#008000">активен</label>
{else}
<label
style="color: #FF0000">недоступен</label>
{/if}
</td>
</tr>
{if
$val.descriptionid}
<tr>
<td valign="center"
align="left" height="22px" width="230px"
class="named_space" style="border-bottom: 1px solid
#F0F0F0">
Описание:
</td>
<td
valign="center" align="left" height="22px"
style="border-bottom: 1px solid #F0F0F0">
{$CONTROL_OBJ->GetText($val.descriptionid)}
</td>
</tr>
{/if}
<tr>
<td
valign="center" align="left" height="22px"
width="230px" class="named_space"
style="border-bottom: 1px solid #F0F0F0">
Тип api:
</td>
<td valign="center" align="left"
height="22px" style="border-bottom: 1px solid
#F0F0F0">
{$ident}
</td>
</tr>
{if $val.price.count &&
!$CONTROL_OBJ->CheckPrivateApiUser($val.private)}
<tr>
<td valign="center" align="left"
height="22px" width="230px"
class="named_space" style="border-bottom: 1px solid
#F0F0F0">
Цена за {$val.price.count} запросов:
</td>
<td valign="center" align="left"
height="22px" style="border-bottom: 1px solid
#F0F0F0">
{if $val.price.value}
{$val.price.value} USD
{else}
<em>(не используется)</em>
{/if}
</td>
</tr>
<tr>
<td
valign="center" align="left" height="22px"
width="230px" class="named_space"
style="border-bottom: 1px solid #F0F0F0">
Запросов
бесплатно (сутки):
</td>
<td
valign="center" align="left" height="22px"
style="border-bottom: 1px solid #F0F0F0">
{if
$val.price.freecount}
{$val.price.freecount}
{elseif
$val.price.value}
<em>(нет)</em>
{else}
<em>(неограничено)</em>
{/if}
</td>
</tr>
{/if}
<tr>
<td
valign="center" align="left" height="22px"
width="230px" class="named_space"
style="border-bottom: 1px solid #F0F0F0">
Запросов
всего:
</td>
<td valign="center"
align="left" height="22px" style="border-bottom:
1px solid #F0F0F0">
{$apiinformationdataall.reqcount}
</td>
</tr>
<tr>
<td
valign="center" align="left" height="22px"
width="230px" class="named_space"
style="border-bottom: 1px solid #F0F0F0">
Запросов
сегодня:
</td>
<td valign="center"
align="left" height="22px" style="border-bottom:
1px solid #F0F0F0">
{$apiinformationdataall.nowcount}
</td>
</tr>
</table>
</span>
</div>
</div>
{/foreach}
</div>
</div>