<% include "../tools/tools.php"; include "../template.user.farsi/header.php"; %> <% include "../template.user.farsi/top_page.php"; include "../template.user.farsi/right_page.php"; $gr=new dbgrid(" SELECT * FROM news WHERE Active = 1 ORDER BY RegDate DESC ",3,10,0); $gr->tb_width="100%"; $gr->tr_head_bgcolor="#222222"; $gr->tr_head_color="#FFFFFF"; $gr->tb_class="news"; $gr->show_header=false; $gr->cellpadding="4"; $gr->cellspacing="0"; $gr->border="0"; $gr->border_color="#000000"; //$gr->tr_even_bgcolor="#ffffff"; //$gr->tr_odd_bgcolor="#ffffff"; $gr->no_data_message='اخباری درج نشده است'; $gr->td_align_array[0]='center'; $gr->td_style_array[0]='border-bottom:1px dotted #cccccc'; $gr->td_width_array[0]='100'; $gr->td_valign_array[0]='Top'; $gr->col_array[0]=''; $gr->td_width_array[1]='1'; $gr->col_array[1]=''; $gr->td_align_array[1]='right'; $gr->td_style_array[1]='border-bottom:1px dotted #cccccc'; $gr->td_width_array[1]='800'; $gr->td_valign_array[1]='Top'; $gr->col_array[1]='
#d#RegDate#
#f#fTitle#
#f#fSummary#
'; %>
اخبار
 
صفحه <%=$gr->page_number %> از <%=$gr->max_page %>
<% $gr->show_grid(); %>
<% $gr->show_prior("<"."قبلی","text-decoration: none;color: #000077"); %>   صفحه <% $gr->show_page_link("text-decoration: none;color: #000077"); %> <% $gr->show_next("بعدی".">","text-decoration: none;color: #000077"); %>
<% include "../template.user.farsi/left_page.php"; include "../template.user.farsi/bottom_page.php"; %>