echo $this->_tpl_vars['article']['fpubdate'];
            ?>
 - <a href="<?php 
            echo cmsSmartyProfileURL(array('login' => $this->_tpl_vars['article']['user_login']), $this);
            ?>
"><?php 
            echo $this->_tpl_vars['article']['author'];
            ?>
</a><?php 
            if ($this->_tpl_vars['cfg']['showcom']) {
                ?>
 - <a href="<?php 
                echo $this->_tpl_vars['article']['url'];
                ?>
" title="<?php 
                echo is_array($_tmp = $this->_tpl_vars['article']['comments']) ? $this->_run_mod_handler('spellcount', true, $_tmp, $this->_tpl_vars['LANG']['COMMENT1'], $this->_tpl_vars['LANG']['COMMENT2'], $this->_tpl_vars['LANG']['COMMENT10']) : smarty_modifier_spellcount($_tmp, $this->_tpl_vars['LANG']['COMMENT1'], $this->_tpl_vars['LANG']['COMMENT2'], $this->_tpl_vars['LANG']['COMMENT10']);
                ?>
" class="mod_latest_comments"><?php 
                echo $this->_tpl_vars['article']['comments'];
                ?>
</a><?php 
            }
            ?>
 - <span class="mod_latest_hits"><?php 
            echo $this->_tpl_vars['article']['hits'];
            ?>
</span>
            </div>
        <?php 
        }
        ?>
        </div>
    </div>
</form>
</div>

<?php 
if ($this->_tpl_vars['results']) {
    ?>
	<?php 
    $this->assign('num', '1');
    ?>
	<p class="usr_photos_notice"><strong><?php 
    echo $this->_tpl_vars['LANG']['FOUND'];
    ?>
 <?php 
    echo is_array($_tmp = $this->_tpl_vars['total']) ? $this->_run_mod_handler('spellcount', true, $_tmp, $this->_tpl_vars['LANG']['1_MATERIALS'], $this->_tpl_vars['LANG']['2_MATERIALS'], $this->_tpl_vars['LANG']['10_MATERIALS']) : smarty_modifier_spellcount($_tmp, $this->_tpl_vars['LANG']['1_MATERIALS'], $this->_tpl_vars['LANG']['2_MATERIALS'], $this->_tpl_vars['LANG']['10_MATERIALS']);
    ?>
</strong></p>
    <?php 
    $_from = $this->_tpl_vars['results'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    if (count($_from)) {
        foreach ($_from as $this->_tpl_vars['tid'] => $this->_tpl_vars['item']) {
            ?>
	<div class="search_block">
            <?php 
            if ($this->_tpl_vars['item']['pubdate']) {
                ?>
            	<div class="search_date"><?php 
>
                            <?php 
            echo is_array($_tmp = '--') ? $this->_run_mod_handler('str_repeat', true, $_tmp, $this->_tpl_vars['pubcat']['NSLevel']) : str_repeat($_tmp, $this->_tpl_vars['pubcat']['NSLevel']);
            ?>
 <?php 
            echo $this->_tpl_vars['pubcat']['title'];
            ?>

                            <?php 
            if ($this->_tpl_vars['is_billing'] && $this->_tpl_vars['pubcat']['cost'] && $this->_tpl_vars['dynamic_cost']) {
                ?>
                                (<?php 
                echo $this->_tpl_vars['LANG']['BILLING_COST'];
                ?>
: <?php 
                echo is_array($_tmp = $this->_tpl_vars['pubcat']['cost']) ? $this->_run_mod_handler('spellcount', true, $_tmp, $this->_tpl_vars['LANG']['BILLING_POINT1'], $this->_tpl_vars['LANG']['BILLING_POINT2'], $this->_tpl_vars['LANG']['BILLING_POINT10']) : smarty_modifier_spellcount($_tmp, $this->_tpl_vars['LANG']['BILLING_POINT1'], $this->_tpl_vars['LANG']['BILLING_POINT2'], $this->_tpl_vars['LANG']['BILLING_POINT10']);
                ?>
)
                            <?php 
            }
            ?>
                        </option>
                    <?php 
        }
    }
    unset($_from);
    ?>
                </select>
            </td>
        </tr>
        <?php 
            echo '" title="';
            echo is_array($_tmp = $this->_tpl_vars['album']['title']) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
            echo '"><img src="/images/photos/small/';
            echo $this->_tpl_vars['album']['file'];
            echo '" width="64" height="64" border="0" alt="';
            echo is_array($_tmp = $this->_tpl_vars['album']['title']) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
            echo '" /></a></div><div class="usr_album"><div class="link"><a href="/clubs/photoalbum';
            echo $this->_tpl_vars['album']['id'];
            echo '" title="';
            echo is_array($_tmp = $this->_tpl_vars['album']['title']) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
            echo '">';
            echo is_array($_tmp = $this->_tpl_vars['album']['title']) ? $this->_run_mod_handler('truncate', true, $_tmp, 14) : smarty_modifier_truncate($_tmp, 14);
            echo '</a></div><div class="count">';
            if ($this->_tpl_vars['album']['content_count']) {
                echo ' ';
                echo is_array($_tmp = $this->_tpl_vars['album']['content_count']) ? $this->_run_mod_handler('spellcount', true, $_tmp, $this->_tpl_vars['LANG']['PHOTO'], $this->_tpl_vars['LANG']['PHOTO2'], $this->_tpl_vars['LANG']['PHOTO10']) : smarty_modifier_spellcount($_tmp, $this->_tpl_vars['LANG']['PHOTO'], $this->_tpl_vars['LANG']['PHOTO2'], $this->_tpl_vars['LANG']['PHOTO10']);
                echo ' ';
            } else {
                echo ' ';
                echo $this->_tpl_vars['LANG']['NOT_PHOTO'];
                echo '';
            }
            echo '</div><div class="date">';
            echo $this->_tpl_vars['album']['pubdate'];
            echo '</div></div></li>';
        }
    }
    unset($_from);
    echo '</ul></div>';
} else {
    echo '<div class="usr_albums_block" style="margin-top:30px"><ul class="usr_albums_list"><li class="no_albums">';
                ?>
title="<?php 
                echo $this->_tpl_vars['LANG']['PRIVATE'];
                ?>
"<?php 
            }
            ?>
><?php 
            echo $this->_tpl_vars['club']['title'];
            ?>
</a>
				</div>
				<div class="details">
                  
					 <?php 
            echo is_array($_tmp = $this->_tpl_vars['club']['members_count']) ? $this->_run_mod_handler('spellcount', true, $_tmp, $this->_tpl_vars['LANG']['CLUB_USER'], $this->_tpl_vars['LANG']['CLUB_USER2'], $this->_tpl_vars['LANG']['CLUB_USER10']) : smarty_modifier_spellcount($_tmp, $this->_tpl_vars['LANG']['CLUB_USER'], $this->_tpl_vars['LANG']['CLUB_USER2'], $this->_tpl_vars['LANG']['CLUB_USER10']);
            ?>
 
                  
				</div>
			</div>
		</div>
	<?php 
        }
    }
    unset($_from);
    ?>

	<?php 
    if ($this->_tpl_vars['pagination']) {
        ?>
    ?>
"><?php 
    echo $this->_tpl_vars['cat']['title'];
    ?>
</a></div>
				<?php 
}
?>
				<?php 
if ($this->_tpl_vars['post']['edit_times']) {
    ?>
					<div><strong><?php 
    echo $this->_tpl_vars['LANG']['EDITED'];
    ?>
:</strong> <?php 
    echo is_array($_tmp = $this->_tpl_vars['post']['edit_times']) ? $this->_run_mod_handler('spellcount', true, $_tmp, $this->_tpl_vars['LANG']['TIME1'], $this->_tpl_vars['LANG']['TIME2'], $this->_tpl_vars['LANG']['TIME10']) : smarty_modifier_spellcount($_tmp, $this->_tpl_vars['LANG']['TIME1'], $this->_tpl_vars['LANG']['TIME2'], $this->_tpl_vars['LANG']['TIME10']);
    ?>
 &mdash; <?php 
    if ($this->_tpl_vars['post']['edit_times'] > 1) {
        echo $this->_tpl_vars['LANG']['LATS_TIME'];
    }
    ?>
 <?php 
    echo $this->_tpl_vars['post']['feditdate'];
    ?>
</div>
				<?php 
}
?>
				
				<?php 
        $this->_sections['vipdays']['total'] = 0;
    }
    if ($this->_sections['vipdays']['show']) {
        for ($this->_sections['vipdays']['index'] = $this->_sections['vipdays']['start'], $this->_sections['vipdays']['iteration'] = 1; $this->_sections['vipdays']['iteration'] <= $this->_sections['vipdays']['total']; $this->_sections['vipdays']['index'] += $this->_sections['vipdays']['step'], $this->_sections['vipdays']['iteration']++) {
            $this->_sections['vipdays']['rownum'] = $this->_sections['vipdays']['iteration'];
            $this->_sections['vipdays']['index_prev'] = $this->_sections['vipdays']['index'] - $this->_sections['vipdays']['step'];
            $this->_sections['vipdays']['index_next'] = $this->_sections['vipdays']['index'] + $this->_sections['vipdays']['step'];
            $this->_sections['vipdays']['first'] = $this->_sections['vipdays']['iteration'] == 1;
            $this->_sections['vipdays']['last'] = $this->_sections['vipdays']['iteration'] == $this->_sections['vipdays']['total'];
            ?>
                            <option value="<?php 
            echo $this->_sections['vipdays']['index'];
            ?>
">
                                <?php 
            echo is_array($_tmp = $this->_sections['vipdays']['index']) ? $this->_run_mod_handler('spellcount', true, $_tmp, $this->_tpl_vars['LANG']['DAY1'], $this->_tpl_vars['LANG']['DAY2'], $this->_tpl_vars['LANG']['DAY10']) : smarty_modifier_spellcount($_tmp, $this->_tpl_vars['LANG']['DAY1'], $this->_tpl_vars['LANG']['DAY2'], $this->_tpl_vars['LANG']['DAY10']);
            ?>

                            </option>
                        <?php 
        }
    }
    ?>
                    </select>

                    <?php 
    if (!$this->_tpl_vars['is_admin']) {
        ?>
                        <input type="hidden" id="vip_day_cost" name="vip_day_cost" value="<?php 
        echo $this->_tpl_vars['cfg']['vip_day_cost'];
        ?>
?>
<h1 class="con_heading"><?php 
echo $this->_tpl_vars['LANG']['ADD_PHOTOS'];
?>
</h1>
<?php 
if ($this->_tpl_vars['total_no_pub']) {
    ?>
<p class="usr_photos_add_limit"><?php 
    echo $this->_tpl_vars['LANG']['NO_PUBLISHED_PHOTO'];
    ?>
: <a href="/users/<?php 
    echo $this->_tpl_vars['user_login'];
    ?>
/photos/submit"><?php 
    echo is_array($_tmp = $this->_tpl_vars['total_no_pub']) ? $this->_run_mod_handler('spellcount', true, $_tmp, $this->_tpl_vars['LANG']['PHOTO'], $this->_tpl_vars['LANG']['PHOTO2'], $this->_tpl_vars['LANG']['PHOTO10']) : smarty_modifier_spellcount($_tmp, $this->_tpl_vars['LANG']['PHOTO'], $this->_tpl_vars['LANG']['PHOTO2'], $this->_tpl_vars['LANG']['PHOTO10']);
    ?>
</a></p>
<?php 
}
if (!$this->_tpl_vars['stop_photo']) {
    ?>
	<?php 
    if ($this->_tpl_vars['uload_type'] == 'multi') {
        echo cmsSmartyAddJS(array('file' => 'includes/swfupload/swfupload.js'), $this);
        ?>

<?php 
        echo cmsSmartyAddJS(array('file' => 'includes/swfupload/swfupload.queue.js'), $this);
        ?>