<div class="panel">
    <div class="user_operation_line" style="height:4px;font-size:0px;"></div>
	<div class="cr"></div>
{*    <div class="cr" id="cr">&nbsp;</div>
    <div id="num_news">
            <input type="hidden" name="sel" value="change_num_news"/>
            <div >
                {$lang.settings.num_news_index}: <input style="margin-left: 10px;" type="text" id="num_news_index" name="num_news_index" size="1" value="{$num_news}" />
                 <a href="#" style="margin-left: 30px;" class="admin_button_major" onclick="Change_news(); return false;">{$lang.button.save}<span>&nbsp;</span></a>
            </div>
    </div>*}
<script type="text/javascript">
{literal}
function Change_news(){
    var num = $("#num_news_index").val();
    //ajaxIndicator(1, 'num_news');
    $.post("admin_settings.php", 'sel=change_num_news&num_news_index='+num, function(data){
                //ajaxIndicator(0, 'num_news');
                //$('#num_news').html(data);
            });
}

{/literal}
</script>
    <div class="cr" id="cr">&nbsp;
		<form id="settings_form" name="settings_form" class="settings_form" action="{$site_url}{$site_root}/admin/admin_news.php?sel=save" method="POST" style="display:none;">
		<table border=0 cellspacing=0 cellpadding=5>
			<tr bgcolor="#FFFFFF">
				<td align="left" nowrap class="main_header_text" width="auto" style="margin-right:10px;">{$header2.use_horoscope_feature}:&nbsp;</td>
				<td class="main_content_text" align="center"><input type="checkbox" name="use_horoscope_feature" id="use_horoscope_feature" value="1" {if $data.use_horoscope_feature}checked{/if}></td>
				<td align="left">
					<div id="error_box" class="error_box_blue"></div>
				</td>
			</tr>
		</table>
		</form>
		<script language="JavaScript" type="text/javascript">
		{literal}
			var options = { 
				success: function(data){
					ShowAjaxError(data);
					return false;
				},
				beforeSubmit: function() { 
					ajaxIndicator(1, 'error_box1');
				}
			};
			$(document).ready(function(){
				$("#use_horoscope_feature").change(function (){
					$('.settings_form').ajaxSubmit(options);
					return false;
				});
			});
		{/literal}
		</script>
	</div>
    <div class="user_status_line">
        <div id="tab_news" class="user_status_elem" onclick="ShowEditor('news','admin_news.php?ajax=1');form_undisp();">
            <a>{$lang.news.list}</a>
        </div>
        <div id="tab_feeds" class="user_status_elem" onclick="ShowEditor('feeds','admin_news.php?par=feeds&ajax=1');form_undisp();">
            <a>{$lang.news.rss_list}</a>
        </div>
        <div id="tab_horoscope" class="user_status_elem_active" onclick="ShowEditor('horoscope','admin_news.php?sel=horoscope&ajax=1');form_disp();">
            {$lang.news.rss_horoscope}
        </div>
		<script type="text/javascript">
			{literal}
				function form_disp(){
					$('#settings_form').css('display', '');
				}
				function form_undisp(){
					$('#settings_form').css('display', 'none');
				}
			{/literal}
		</script>

        <div class="cr"></div>
<div class="panel_subtabs">
	<div class="panel_content">
		<form action="{$form.action}" name="edit_form" id="edit_form">
		<input type="hidden" name="id_lang" value="{$form.id_lang}">
		<div class="cr">&nbsp;</div>
		<div class="fl">
			{$lang.news.rss_horoscope_lang}:
		</div>
		<div class="fl">
			&nbsp;{$form.code}
		</div>
		<div class="cr">&nbsp;</div>
		<div class="fl">
			{$lang.news.rss_horoscope_link}:
		</div>
		<div class="fl">
			&nbsp;<input type="text" name="link" value="{$form.link}" size="80">
		</div>
		</form>
	</div>
</div>
		<div class="fl">
			<a class="admin_button_major" onclick="SaveBlock('show_block','edit_form');">{$lang.button.save}<span>&nbsp;</span></a>
			<a class="admin_button_cancel" onclick="ShowBlock('show_block','{$form.back}');return false;">{$lang.button.vip_cancel}<span>&nbsp;</span></a>
		</div>
        <div id="error_box1" class="error_box_blue fl" style="line-height: 3; margin-left: 10px;"></div>
<div class="cr">&nbsp;</div>
<script type="text/javascript">
	tab_link = '{$form.back}';
</script>
</div>
</div>