<?php /* Smarty version 2.6.25, created on 2012-10-27 09:16:45
         compiled from profile.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'profile.tpl', 233, false),array('function', 'formtool_count_chars', 'profile.tpl', 301, false),array('modifier', 'escape', 'profile.tpl', 239, false),array('modifier', 'trim', 'profile.tpl', 301, false),)), $this); ?>
<?php ob_start(); ?> - Bruker Management<?php $this->_smarty_vars['capture']['title'] = ob_get_contents(); ob_end_clean(); ?>
<?php ob_start(); ?>Bruker Management<?php $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('in_page_title', 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 '
<script type="text/javascript">
jQuery(function($) {
	$(document).ready(function(){

		var thumb = $(\'img#thumb\');	

		new AjaxUpload(\'IMG\', {
			action: $(\'form#submit_form\').attr(\'action\'),
			name: \'image\',
			onSubmit: function(file, extension) {
				$(\'div.preview\').addClass(\'loading\');
			},
			onComplete: function(file, response) {
				thumb.load(function(){
					$(\'div.preview\').removeClass(\'loading\');
					thumb.unbind();
				});
				thumb.attr(\'src\', response);
			}
		});
	});
	});
</script>

'; ?>


<?php echo ''; ?><?php if ($this->_tpl_vars['thank_you']): ?><?php echo '<h3>Informasjon</h3><table border="0" class="formPage" align="center"><tr><td>Takk for registrering. Kontoen er opprettet. Du kan nå logge inn og sende koblinger.</td></tr></table>'; ?><?php elseif ($this->_tpl_vars['confirmed']): ?><?php echo '<h3>Informasjon</h3><table border="0" class="formPage" align="center"><tr><td>Takk for at du bekrefter din e-post. Kontoen din er aktivert. Du kan nå logge inn med ditt brukernavn og passord.</td></tr></table>'; ?><?php elseif ($this->_tpl_vars['user_logged']): ?><?php echo '<h3>User Area</h3>'; ?><?php if ($this->_tpl_vars['profileUpdate']): ?><?php echo '<p>Profil oppdatert</p>'; ?><?php endif; ?><?php echo '<p>   <a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/index.php?uid='; ?><?php echo $this->_tpl_vars['regular_user_details']['ID']; ?><?php echo '" title="Bla personlige lenker">My Submissions</a></p><p>  <a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/profile.php?mode=edit" title="Edit Profile">Edit Profile</a></p>'; ?><?php elseif ($this->_tpl_vars['agreement_terms']): ?><?php echo '<h3>Registrering Avtalevilkår</h3><table border="0" class="formPage" align="center"><tr><td>While the administrators and editors of this link directory will attempt to remove or edit any generally objectionable material as quickly as possible, it is impossible to review every link. Therefore you acknowledge that all links submitted to this link directory express the views and opinions of the submitter and not the administrators, editors or webmaster (except for posts by these people) and hence will not be held liable.<br /><br />You agree not to post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-oriented or any other links and/or material that may violate any applicable laws. Doing so may lead to you being immediately and permanently banned (and your service provider being informed). The IP address of all submitted links is recorded to aid in enforcing these conditions. You agree that the webmaster, administrator and editors of this link directory have the right to remove, edit or move any link at any time should they see fit. As a user you agree to any information you have entered above being stored in a database. While this information will not be disclosed to any third party without your consent the webmaster, administrator and editors cannot be held responsible for any cracking attempt that may lead to the data being compromised.<br /><br />This link directory uses sessions to store information. These do not contain any of the information you have entered above; they serve only to improve your viewing and submit pleasure. The e-mail address is used only for confirming your registration details and password (and for sending new passwords should you forget your current one).<br /><br />By clicking Register below you agree to be bound by these conditions.</td></tr><tr><td><a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/profile.php?mode=register&amp;agreed=true" title="godtar vilkårene">godtar vilkårene</a></td></tr><tr><td><a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/profile.php?mode=register&amp;agreed=false" title="jeg ikke aksepterer disse vilkårene">jeg ikke aksepterer disse vilkårene</a></td></tr></table>'; ?><?php elseif ($this->_tpl_vars['confirm'] == 1): ?><?php echo ''; ?><?php if ($this->_tpl_vars['password_recovered'] == 1): ?><?php echo '<h3>Informasjon</h3><table border="0" class="formPage" align="center"><tr><td>Du kan nå logge på med ditt nye passord.</td></tr></table>'; ?><?php elseif ($this->_tpl_vars['password_recovered'] == 0): ?><?php echo '<h3>Informasjon</h3><table border="0" class="formPage" align="center"><tr><td class="err">Det oppstod en feil under lagring av det nye passordet.</td></tr></table>'; ?><?php endif; ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['send_password'] == 1): ?><?php echo ''; ?><?php if ($this->_tpl_vars['email_status'] == 1 || $this->_tpl_vars['wrong_user_details'] == 1): ?><?php echo '<h3>Informasjon</h3><table border="0" class="formPage" align="center"><tr><td class="'; ?><?php if ($this->_tpl_vars['email_sent'] == 'sent'): ?><?php echo 'msg'; ?><?php else: ?><?php echo 'err'; ?><?php endif; ?><?php echo '">'; ?><?php if ($this->_tpl_vars['email_sent'] == 'sent'): ?><?php echo 'Sjekk e-posten din for å bekrefte at det nye passordet forespørsel.'; ?><?php elseif ($this->_tpl_vars['email_sent'] == 'error'): ?><?php echo 'Det oppstod en feil under sending av e-post.'; ?><?php if ($this->_tpl_vars['email_error_msg']): ?><?php echo '<br />'; ?><?php echo $this->_tpl_vars['email_error_msg']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['wrong_user_details']): ?><?php echo 'Detaljene du leveres samsvarer ikke noe registrert bruker.'; ?><?php else: ?><?php echo 'Ukjent feil.'; ?><?php endif; ?><?php echo '</td></tr></table>'; ?><?php else: ?><?php echo '<form method="post" action="" id="submit_form"><h3>Gjenopprett passord</h3><table border="0" class="formPage" align="center" width="auto"><tr><td class="label"><span class=\'req\'>*</span>Logg inn:</td><td class="smallDesc"><input type="text" name="LOGIN" value="'; ?><?php echo $this->_tpl_vars['LOGIN']; ?><?php echo '" size="20" maxlength="'; ?><?php echo @USER_LOGIN_MAX_LENGTH; ?><?php echo '" class="text" /></td></tr><tr><td class="label"><span class=\'req\'>*</span>E-post:</td><td class="smallDesc"><input type="text" name="EMAIL" value="'; ?><?php echo $this->_tpl_vars['EMAIL']; ?><?php echo '" size="20" maxlength="255" class="text" /></td></tr>'; ?><?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 '<tr><td class="label"><span class=\'req\'>*</span>Bekreftelseskode<p class="small">Dette hjelper til med å forhindre automatiske registreringer.</p></td><td class="smallDesc"><input id="IMAGEHASH" name="IMAGEHASH" type="hidden" value="'; ?><?php echo $this->_tpl_vars['imagehash']; ?><?php echo '" /><input id="CAPTCHA" name="CAPTCHA" type="text" value="" size="'; ?><?php echo @CAPTCHA_PHRASE_LENGTH; ?><?php echo '" maxlength="'; ?><?php echo @CAPTCHA_PHRASE_LENGTH; ?><?php echo '" class="text" /><img src="'; ?><?php echo @DOC_ROOT; ?><?php echo '/captcha.php?imagehash='; ?><?php echo $this->_tpl_vars['imagehash']; ?><?php echo '" class="captcha" alt="Visual Bekreftelsesverktøy Sikkerhetskode" title="Visual Bekreftelsesverktøy Sikkerhetskode" /></td></tr>'; ?><?php endif; ?><?php echo '<tr><td>&nbsp;</td><td><input type="submit" name="send" value="Submit" class="btn" /></td></tr></table><input type="hidden" name="formSubmitted" value="1" /></form>'; ?><?php endif; ?><?php echo ''; ?><?php elseif ($this->_tpl_vars['user_registration'] == 1 || $this->_tpl_vars['user_edit'] == 1): ?><?php echo '<form method="post" action="" enctype="multipart/form-data" name="profile_form" id="submit_form"><h3>registreringsinformasjonen</h3><table border="0" class="formPage" align="center" width="auto">'; ?><?php if ($this->_tpl_vars['profileUpdate']): ?><?php echo '<tr><td colspan="2"><h3>Profil oppdatert</h3></td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['user_registration'] == 1): ?><?php echo '<tr><td class="label"><span class=\'req\'>*</span>Logg inn:</td><td class="smallDesc"><input type="text" name="LOGIN" value="'; ?><?php echo $this->_tpl_vars['LOGIN']; ?><?php echo '" size="20" maxlength="'; ?><?php echo @USER_LOGIN_MAX_LENGTH; ?><?php echo '" class="text" /></td></tr>'; ?><?php endif; ?><?php echo '<tr><td class="label"><span class=\'req\'>*</span>Navn:</td><td class="smallDesc"><input type="text" name="NAME" value="'; ?><?php echo $this->_tpl_vars['NAME']; ?><?php echo '" size="20" maxlength="'; ?><?php echo @USER_NAME_MAX_LENGTH; ?><?php echo '" class="text" /></td></tr><tr><td class="label"><span class=\'req\'>*</span>Passord:</td><td class="smallDesc"><input type="password" name="PASSWORD" id="PASSWORD" value="" size="20" maxlength="'; ?><?php echo @USER_PASSWORD_MAX_LENGTH; ?><?php echo '" class="text" /></td></tr><tr><td class="label"><span class=\'req\'>*</span>Bekreft Passord:</td><td class="smallDesc"><input type="password" name="PASSWORDC" id="PASSWORDC" value="" size="20" maxlength="'; ?><?php echo @USER_PASSWORD_MAX_LENGTH; ?><?php echo '" class="text" /></td></tr><tr><td class="label"><span class=\'req\'>*</span>Språk:</td><td class="smallDesc">'; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['languages'],'selected' => $this->_tpl_vars['LANGUAGE'],'name' => 'LANGUAGE'), $this);?><?php echo '</td></tr><tr><td class="label"><span class=\'req\'>*</span>E-post:</td><td class="smallDesc"><input type="text" name="EMAIL" value="'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['EMAIL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo '" size="20" maxlength="255" class="text" /></td></tr>'; ?><?php if ($this->_tpl_vars['user_registration'] == 0 && $this->_tpl_vars['ALLOW_AUTHOR_INFO'] == 1): ?><?php echo '<tr><td colspan="2"><h3>Valgfritt Info For Om Side</h3></td></tr><!-- author avatar related -->'; ?><?php if ($this->_tpl_vars['ALLOW_AVATARS'] == 1): ?><?php echo '<!--<tr><td class="label"><label for="IMG">Last Personlige Foto:</label></td><td class="smallDesc"><input type="file" name="IMG" id="IMG" value="'; ?><?php echo $this->_tpl_vars['IMG']; ?><?php echo '" class="text"/><br /></td></tr><tr><td class="label"><label for="DESCRIPTION">Preview Photo:</label></td><td class="smallDesc"><div class="preview"><img id="thumb" width="100px" height="100px" src=""/></div></td></tr><tr><td class="label"><label for="DESCRIPTION">Gjeldende Photo:</label></td><td class="smallDesc">'; ?><?php if ($this->_tpl_vars['AUTH_IMG']): ?><?php echo '<img src="'; ?><?php echo $this->_tpl_vars['AUTH_IMG']; ?><?php echo '">'; ?><?php else: ?><?php echo 'None'; ?><?php endif; ?><?php echo '</td></tr>-->'; ?><?php endif; ?><?php echo '<!-- end -->'; ?><?php echo ''; ?><?php if ($this->_tpl_vars['hasLinks'] > 0): ?><?php echo '<tr><td class="label"><input type="checkbox" name="OWNER_NEWSLETTER_ALLOW" '; ?><?php if ($this->_tpl_vars['OWNER_NEWSLETTER_ALLOW'] >= 1): ?><?php echo 'checked="checked"'; ?><?php endif; ?><?php echo ' /></td><td><p class="small">Allow site administrator to send me newsletters.</p></td></tr>'; ?><?php endif; ?><?php echo '<tr><td class="label">Innlegg artikler Anonymt:<p class="small">Dette vil beholde navnet bort av artiklene siden<BR>men admins vil fortsatt ikke vet hvem som skrev hver enkelt artikkel.</p></td><td class="field">'; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['yesno'],'selected' => $this->_tpl_vars['ANONYMOUS'],'name' => 'ANONYMOUS'), $this);?><?php echo '</td></tr><tr><td class="label">Info:</td><td class="field"><textarea name="INFO" rows="3" cols="37" class="text" '; ?><?php echo smarty_function_formtool_count_chars(array('name' => 'INFO','limit' => '255','alert' => true), $this);?><?php echo '>'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['INFO'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</textarea><br />Limit: <input type="text" name="INFO_limit" size="4" class="limit_field" readonly="readonly" value="'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['InfoLimit'])) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" /></td></tr><tr><td class="label">Website Name:</td><td class="field"><input type="text" name="WEBSITE_NAME" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['WEBSITE_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="255" class="text"/></td></tr><tr><td class="label">Webadresse:</td><td class="field"><input type="text" name="WEBSITE" value="'; ?><?php if (! $this->_tpl_vars['WEBSITE']): ?><?php echo 'http://'; ?><?php else: ?><?php echo ''; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['WEBSITE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '" size="40" maxlength="255" class="text"/></td></tr><tr><td colspan="2"><h3></h3></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 '<tr><td class="label"><span class=\'req\'>*</span>Bekreftelseskode<p class="small">Dette hjelper til med å forhindre automatiske registreringer.</p></td><td class="smallDesc"><input id="IMAGEHASH" name="IMAGEHASH" type="hidden" value="'; ?><?php echo $this->_tpl_vars['imagehash']; ?><?php echo '" /><input id="CAPTCHA" name="CAPTCHA" type="text" value="" size="'; ?><?php echo @CAPTCHA_PHRASE_LENGTH; ?><?php echo '" maxlength="'; ?><?php echo @CAPTCHA_PHRASE_LENGTH; ?><?php echo '" class="text" /><img src="'; ?><?php echo @DOC_ROOT; ?><?php echo '/captcha.php?imagehash='; ?><?php echo $this->_tpl_vars['imagehash']; ?><?php echo '" class="captcha" alt="Visual Bekreftelsesverktøy Sikkerhetskode" title="Visual Bekreftelsesverktøy Sikkerhetskode" /></td></tr>'; ?><?php endif; ?><?php echo '<tr><td>&nbsp;</td><td><input type="submit" name="send" value="Submit" class="btn" /></td></tr></table><input type="hidden" name="formSubmitted" value="1" /></form>'; ?><?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 ''; ?>