<% $page_code = 1; include "../tools/tools.php"; include "../template.user.farsi/header.php"; %> <% include "../template.user.farsi/top_page.php"; include "../template.user.farsi/right_page.php"; %>
<% ShowAdvertiser (0, 1020, 390) %>
<% $gr=new dbgrid(" SELECT * FROM product WHERE Active=1 AND TopNew=1 ",3,1); $gr->tb_width="100%"; $gr->tr_head_bgcolor="#222222"; $gr->tr_head_color="#FFFFFF"; $gr->tb_class="product"; $gr->show_header=false; $gr->cellpadding="0"; $gr->cellspacing="0"; $gr->border="0"; $gr->border_color="#cccccc"; $gr->td_align_array[0]='center'; $gr->td_valign_array[0]='Top'; $gr->td_width_array[0]='200'; $gr->col_array[0]='

#f#fName#

'; $gr->td_align_array[1]='center'; $gr->td_valign_array[1]='Top'; $gr->td_width_array[1]='200'; $gr->col_array[1]='

#f#fName#

'; $gr->td_align_array[2]='center'; $gr->td_valign_array[2]='Top'; $gr->td_width_array[2]='200'; $gr->col_array[2]='

#f#fName#

'; $gr->show_grid(); %>
درباره ما
<%=get_field("SELECT fContent FROM pages WHERE Code=1","fContent");%>
اخبار و وقایع
<% $gr=new dbgrid(" SELECT Top 5 * 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="0"; $gr->cellspacing="5"; $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:1px solid #ccc;'; $gr->td_valign_array[0]='middel'; $gr->col_array[0]='
#d#RegDate#
#f#fTitle#
#f#fSummary#
'; $gr->show_grid(); %>
جدیدترین مقالات
<% $gr=new dbgrid(" SELECT Top 5 * FROM article 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="article"; $gr->show_header=false; $gr->cellpadding="0"; $gr->cellspacing="5"; $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]='right'; $gr->col_array[0]='#f#fTitle#'; $gr->show_grid(); %>
<% include "../template.user.farsi/left_page.php"; include "../template.user.farsi/bottom_page.php"; %>