<?php /* Smarty version 2.6.25, created on 2012-06-26 02:20:41
         compiled from submit_article.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'submit_article.tpl', 111, false),array('modifier', 'trim', 'submit_article.tpl', 111, false),array('function', 'formtool_count_chars', 'submit_article.tpl', 122, false),)), $this); ?>
<?php ob_start(); ?> - Submit Neni<?php $this->_smarty_vars['capture']['title'] = ob_get_contents(); ob_end_clean(); ?>
<?php ob_start(); ?>Submit Neni<?php $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('in_page_title', ob_get_contents());ob_end_clean(); ?>
<?php ob_start(); ?>Submit një artikull të ri në directory e pavlefshme<?php $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('description', ob_get_contents());ob_end_clean(); ?>
<?php ob_start(); ?><span class="errForm">You have to agree to the rules before submitting an article.</span><?php $this->_smarty_vars['capture']['non_rules_agree'] = ob_get_contents(); ob_end_clean(); ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top_bar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "validation.tpl", 'smarty_include_vars' => array('form_id' => 'submit_form','validators' => $this->_tpl_vars['validators'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php echo ''; ?><?php if (@DISABLE_ARTICLE_SUBMIT == 1 && $this->_tpl_vars['is_admin'] != 1): ?><?php echo ' <table width="96%" border="0" align="center" cellpadding="4" cellspacing="4" class="sp_area">   <tr>      <td>         <h2>Mbyllur</h2>      </td>   </tr>   <tr>      <td>         Ne po vjen keq por artikuj parashtresat janë të mbyllura. Artikulli i<br />         '; ?><?php echo $this->_tpl_vars['disablearticlereason']; ?><?php echo '      </td>   </tr> </table> <br /> '; ?><?php else: ?><?php echo ''; ?><?php if (( $this->_tpl_vars['confirmed'] )): ?><?php echo '<table border="0" class="formPage"><tr><td colspan="2" class="msg">adresë është konfirmuar.<br />Artikulli do të rreshtuar si të jetë më shpejt që të jetë ashtu siç është miratuar nga një administratori.</td></tr></table>'; ?><?php endif; ?><?php echo ''; ?><?php if (@REQUIRE_REGISTERED_USER_ARTICLE == 1 && empty ( $this->_tpl_vars['regular_user_details']['ID'] )): ?><?php echo '<table border="0" class="formPage" align="center" style="clear:both; margin-top:3em;"><tr><td><h3>Information</h3></td></tr><tr><td>Duhet të keni hyrë brenda për të paraqitur një artikull të ri. Bëhuni një<br />Nuk keni llogari? <a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/profile.php?mode=register" title="Author">Author</a></td></tr></table>'; ?><?php else: ?><?php echo '<form method="post" action="" id="submit_form" class="cmxform"><table border="0" class="formPage">'; ?><?php if ($this->_tpl_vars['error']): ?><?php echo '<tr><td colspan="2" class="err">An error has occured '; ?><?php $_from = $this->_tpl_vars['error_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['errorList'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['errorList']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['errorKey'] => $this->_tpl_vars['errorItem']):
        $this->_foreach['errorList']['iteration']++;
?><?php echo ''; ?><?php if ($this->_tpl_vars['errorKey'] == 'DO_MATH'): ?><?php echo ''; ?><?php if (is_array ( $this->_tpl_vars['errorItem'] )): ?><?php echo ''; ?><?php echo $this->_tpl_vars['errorItem']['remote']; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['errorItem']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '.</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['double_review'] && ! $this->_tpl_vars['posted']): ?><?php echo '<tr><td colspan="2" class="err">'; ?><?php echo $this->_tpl_vars['double_review']; ?><?php echo '</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['posted']): ?><?php echo '<tr><td colspan="2" class="msg">Neni paraqitet '; ?><?php if ($this->_tpl_vars['waiting_approval'] == 1): ?><?php echo 'dhe në pritje të miratimit'; ?><?php endif; ?><?php echo '.<br />Dërgo një tjetër artikull.</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['needs_confirmation']): ?><?php echo '<tr><td colspan="2" class="msg">e-mail adresën që ju duhet të sigurohen para se të konfirmohet se artikulli është i listuar. Featured<br />Ju lutem, kontrolloni konfirmimin me email për lidhjen.</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if (@ARTICLE_PAY_ENABLE): ?><?php echo ''; ?><?php if ($this->_tpl_vars['dont_show_pay'] != 1): ?><?php echo '<tr><td colspan="2"><div class="fields"><div class="fields_c"><h3>Çmimeve</h3><table border="0" cellspacing="0" cellpadding="0">'; ?><?php if (@ARTICLE_PAY_FEATURED): ?><?php echo '<tr><td><input type="radio" id="featured" name="ARTICLE_TYPE" value="featured" '; ?><?php if ($this->_tpl_vars['ARTICLE_TYPE'] == 'featured'): ?><?php echo 'checked="true"'; ?><?php endif; ?><?php echo '><label for="featured">artikuj</label></td><td>'; ?><?php echo @HTML_CURRENCY_CODE; ?><?php echo ''; ?><?php echo @ARTICLE_PAY_FEATURED; ?><?php echo ' </td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if (@ARTICLE_PAY_NORMAL > 0): ?><?php echo '<tr><td><input type="radio" id="normal" name="ARTICLE_TYPE" value="normal" '; ?><?php if ($this->_tpl_vars['ARTICLE_TYPE'] == 'normal'): ?><?php echo 'checked="true"'; ?><?php endif; ?><?php echo '><label for="normal">rregullta me artikuj</label></td><td>'; ?><?php echo @HTML_CURRENCY_CODE; ?><?php echo ''; ?><?php echo @ARTICLE_PAY_NORMAL; ?><?php echo ' </td></tr>'; ?><?php elseif (@ARTICLE_PAY_NORMAL == 0): ?><?php echo '<tr><td><input type="radio" id="normal" name="ARTICLE_TYPE" value="normal" '; ?><?php if ($this->_tpl_vars['ARTICLE_TYPE'] == 'normal'): ?><?php echo 'checked="true"'; ?><?php endif; ?><?php echo '><label for="normal">rregullta me artikuj</label></td><td>falas</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if (@ARTICLE_PAY_ENABLE_FREE): ?><?php echo '<tr><td><input type="radio" id="free" name="ARTICLE_TYPE" value="free" '; ?><?php if ($this->_tpl_vars['ARTICLE_TYPE'] == 'free'): ?><?php echo 'checked="true"'; ?><?php endif; ?><?php echo '><label for="free">Artikuj nofollow atribut</label></td><td>free</td></tr>'; ?><?php endif; ?><?php echo '</table>'; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['AllowedFeat'] ) && $this->_tpl_vars['AllowedFeat'] != 1): ?><?php echo '<br /><span class="errForm">Nuk lejohet artikuj të botuar më shumë për këtë kategori. Submit</span>'; ?><?php endif; ?><?php echo '</div><div class="fields_b"></div></div></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '<tr><td class="label underlined" align=\'left\' colspan="2">Fields shënohen me një <span class=\'req\'>*</span> janë të detyrueshme.</td></tr><tr><td class="label" width="25%"><span class=\'req\'>*</span>Titulli:</td><td class="field"><input class="text" type="text" name="TITLE" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['TITLE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" size="40" maxlength="'; ?><?php echo @ARTICLE_TITLE_MAX_LENGTH; ?><?php echo '" />'; ?><?php echo ''; ?><?php if ($this->_tpl_vars['review_articlee'] == 0 || $this->_tpl_vars['remove_article'] == 0): ?><?php echo ''; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo '</td></tr><tr><td class="label" width="25%"><span class=\'req\'>*</span>Short Description:</td><td class="field"><textarea name="DESCRIPTION" rows="4" cols="36" class="text" '; ?><?php echo smarty_function_formtool_count_chars(array('name' => 'DESCRIPTION','limit' => @ARTICLE_DESCRIPTION_MAX_LENGTH,'alert' => true), $this);?><?php echo '>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['DESCRIPTION'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</textarea>'; ?><?php echo ' <br />Kufizo: <input type="text" name="DESCRIPTION_limit" size="4" class="limit_field" readonly="readonly" value="'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['DescriptionLimit'])) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" /></td></tr><tr><td class="label" width="25%">Neni:</td><td class="field">'; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "rte.tpl", 'smarty_include_vars' => array('NAME' => 'ARTICLE','VALUE' => $this->_tpl_vars['ARTICLE'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</td></tr>'; ?><?php if (@ENABLE_META_TAGS == 1 && @ENABLE_USER_META_TAGS_ARTICLE == 1): ?><?php echo '<tr><td class="label" width="25%" width="10%">ndara META Keywords:</td><td class="field"><input type="text" name="META_KEYWORDS" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['META_KEYWORDS'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" size="40" maxlength="2000" class="text" /><p class="small">fjalë kyçe nga presje.</p>'; ?><?php echo '</td></tr><tr><td class="label" width="25%">META Përshkrimi:</td><td class="field"><textarea name="META_DESCRIPTION" rows="3" cols="30" class="text" '; ?><?php echo smarty_function_formtool_count_chars(array('name' => 'META_DESCRIPTION','limit' => @META_DESCRIPTION_MAX_LENGTH,'alert' => true), $this);?><?php echo '>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['META_DESCRIPTION'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</textarea>'; ?><?php echo '<br />Kufizo: <input type="text" name="META_DESCRIPTION_limit" size="4" class="limit_field" readonly="readonly" value="'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['MetaDescriptionLimit'])) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" /></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if (@REQUIRE_REGISTERED_USER_ARTICLE == 0 || empty ( $this->_tpl_vars['regular_user_details']['ID'] )): ?><?php echo '<tr><td class="label" width="25%"><span class=\'req\'>*</span>Emri Juaj:</td><td class="field"><input type="text" name="OWNER_NAME" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['OWNER_NAME'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" size="40" maxlength="'; ?><?php echo @USER_NAME_MAX_LENGTH; ?><?php echo '" class="text" />'; ?><?php echo ''; ?><?php echo '</td></tr><tr><td class="label" width="25%"><span class=\'req\'>*</span>Email Juaj:</td><td class="field"><input type="text" name="OWNER_EMAIL" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['OWNER_EMAIL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" size="40" maxlength="255" class="text" />'; ?><?php echo ''; ?><?php echo '</td></tr>'; ?><?php endif; ?><?php echo '<tr><td class="label" width="25%"><span class=\'req\'>*</span>Category:</td><td class="field">'; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "category_select_article.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '</td></tr>'; ?><?php if ($this->_tpl_vars['remove_article']): ?><?php echo '<tr><td class="label" width="25%">Shënoje këtë formular për heqjen:</td><td class="field"><input type="checkbox" id="MARK_REMOVE" name="MARK_REMOVE" /><span class="small">Përdor me kujdes</span></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['is_admin'] == 1): ?><?php echo '<tr><td class="label">Release Date:</td><td class="field"><input id="RELEASE_DATE" type="text" name="RELEASE_DATE" value="'; ?><?php echo $this->_tpl_vars['RELEASE_DATE']; ?><?php echo '" class="text"/><a href=""style="display: block; float: left; margin-left: 5px; margin-top: 1px;"onclick="window.open(\'date_cal.html\',\'calendar\',\'toolbar=no,titlebar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=0,dependent=no,width=220,height=220\');return false;"><img src="images/date_btn.gif" border="0"></a></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if (@VISUAL_CONFIRM == 2): ?><?php echo '<tr><td class="label"<span class=\'req\'>*</span>DO THE MATH:</td><td class="field"><span style="color: red;">'; ?><?php $_from = $this->_tpl_vars['error_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['errorList'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['errorList']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['errorKey'] => $this->_tpl_vars['errorItem']):
        $this->_foreach['errorList']['iteration']++;
?><?php echo ''; ?><?php if ($this->_tpl_vars['errorKey'] == 'DO_MATH'): ?><?php echo ''; ?><?php if (is_array ( $this->_tpl_vars['errorItem'] )): ?><?php echo ''; ?><?php echo $this->_tpl_vars['errorItem']['remote']; ?><?php echo '<br/>'; ?><?php else: ?><?php echo ''; ?><?php echo $this->_tpl_vars['errorItem']; ?><?php echo '<br/>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</span><font style="font-weight: bold; font-size: 14pt; color: red; margin-right: 10px;">'; ?><?php echo $this->_tpl_vars['DO_MATH_N1']; ?><?php echo ' + '; ?><?php echo $this->_tpl_vars['DO_MATH_N2']; ?><?php echo ' = </font><input type="text" id="DO_MATH" name="DO_MATH" value=\''; ?><?php echo $this->_tpl_vars['DO_MATH']; ?><?php echo '\' class="text" style="width: 60px;"/><br/><br/></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if (@VISUAL_CONFIRM == 1): ?><?php echo ''; ?><?php if ($this->_tpl_vars['dont_show_captch'] != 1): ?><?php echo '<tr><td class="label" width="25%"><span class=\'req\'>*</span>Shkruani kodin e shfaqur:</td><td class="field"><input id="IMAGEHASH" name="IMAGEHASH" type="hidden" value="'; ?><?php echo $this->_tpl_vars['imagehash']; ?><?php echo '" /><input class="text" id="CAPTCHA" name="CAPTCHA" type="text" value="" size="'; ?><?php echo @CAPTCHA_PHRASE_LENGTH; ?><?php echo '" maxlength="'; ?><?php echo @CAPTCHA_PHRASE_LENGTH; ?><?php echo '"/>'; ?><?php echo '<br /><p class="small">Kjo ndihmon parandaluar regjistrime të automatizuar.</p><img src="'; ?><?php echo @DOC_ROOT; ?><?php echo '/captcha.php?imagehash='; ?><?php echo $this->_tpl_vars['imagehash']; ?><?php echo '" class="captcha" alt="Security Code" title="Security Code" /></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '<tr><td class="label" width="25%"><span class=\'req\'>*</span><a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/rules.php" title="Submission Rules" target=\'_blank\'>Submission Rules</a> Agreement:</td><td class="field"><input type="checkbox" id="AGREERULES" name="AGREERULES"'; ?><?php if ($this->_tpl_vars['AGREERULES'] == 'on'): ?><?php echo ' checked="checked"'; ?><?php endif; ?><?php echo ' /> JAM DAKORD <a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/rules.php" title="Submission Rules" target=\'_blank\'>me rregullat e paraqitjes</a>'; ?><?php echo '</td></tr><tr><td colspan="2" class="buttons">'; ?><?php if (! $this->_tpl_vars['review_article'] && ! $this->_tpl_vars['remove_article']): ?><?php echo '<input type="submit" name="continue" value="Vazhdo" class="btn" /><input type="hidden" name="formSubmitted" value="1" />'; ?><?php else: ?><?php echo '<input type="submit" name="edit" value="Vazhdo" class="btn" /><input type="hidden" name="edit" value="1" />'; ?><?php endif; ?><?php echo '</td></tr></table><input type="hidden" name="id" value="'; ?><?php echo $this->_tpl_vars['article_id']; ?><?php echo '" /></form>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?>