View file modules/profile/edit.php

File size: 1.05Kb
<?
if(!defined('SHCMS_ENGINE')) {
	die( "Неправильное действие" );
}

    echo '<div class="mainname"><img src="/engine/template/icons/edit.png">&nbsp;'.Lang::__('Редактирование данных').'</div>';
    echo '<div class="mainpost">';

		$ini = new iniFile(H.'/engine/menu/inifile/editprofile.ini');
        $file = $ini->read();

		foreach($file as $key => $value) {
		    
			    $list  = '<div class="posts_gl">';			
				$list .= '<table cellspacing="0" callpadding="0" width="100%">';
				$list .= '<tr><td class="icons"><img src="/engine/template/icons/profile/'. $value['icon'] .'"></td>';
		    	$list .= '<td class="name" colspan="10"><b><a href="'.$value['path'].'">'.$key.'</a><span class="time">'.$row1[0].'</span></td></tr>';
				$list .= '<tr><td class="content" colspan="10">'. $value['desc'] .'</td></tr>';
				$list .= '</table></div>';
				
			echo $list;
			
		}
    echo '</div>';

			//Переадресация		
			echo engine::home(array(Lang::__('Назад'),'?id='.$id_user.''));