function DropTables()
 {
     $moderator = new Moderator();
     $moderator->SetDatabase($this);
     $moderator->Drop();
     $message = new Message();
     $message->SetDatabase($this);
     $message->Drop();
     $topic = new Topic();
     $topic->SetDatabase($this);
     $topic->Drop();
     $user_info = new UserInfo();
     $user_info->SetDatabase($this);
     $user_info->Drop();
     $session = new Session();
     $session->SetDatabase($this);
     $session->Drop();
     $new = new News();
     $new->SetDatabase($this);
     $new->Drop();
     $shout = new Shout();
     $shout->SetDatabase($this);
     $shout->Drop();
     $paragraph = new Paragraph();
     $paragraph->SetDatabase($this);
     $paragraph->Drop();
     $privilege = new Privilege();
     $privilege->SetDatabase($this);
     $privilege->Drop();
     $role = new Role();
     $role->SetDatabase($this);
     $role->Drop();
     $menu_item = new MenuItem();
     $menu_item->SetDatabase($this);
     $menu_item->Drop();
     $module = new Module();
     $module->SetDatabase($this);
     $module->Drop();
     $page = new Page();
     $page->SetDatabase($this);
     $page->Drop();
     $article = new Article();
     $article->SetDatabase($this);
     $article->Drop();
     $subject = new Subject();
     $subject->SetDatabase($this);
     $subject->Drop();
     $menu = new Menu();
     $menu->SetDatabase($this);
     $menu->Drop();
     $profile = new Profile();
     $profile->SetDatabase($this);
     $profile->Drop();
     $user = new User();
     $user->SetDatabase($this);
     $user->Drop();
 }
		</script>

		<table width="100%" cellspacing="0" bgcolor="#000080">
			<tr>
				<td bgcolor="#FFFFFF">

<?php 
if ($arti_id == "") {
    $article_last = new Article();
    $article_last->SetDatabase($database);
    $article_last->SelectLastArticleByUserAndMenuName($guardian->GetUserId(), "Cursos");
    $arti_id = $article_last->GetId();
}
if ($arti_id != "") {
    $article_tmp = new Article();
    $article_tmp->SetDatabase($database);
    $article_tmp->SetId($arti_id);
    $article_tmp->SelectById();
    ?>
				
				
					<table width="100%" cellspacing="1" bgcolor="#000080">
						<tr>
							<td bgcolor="#DDDDDD" align="center" width="100%">

<?php 
    echo $article_tmp->GetTitle();
    ?>

							</td>
						</tr>
     $session->SetDatabase($database);
     $session->Create();
     break;
 case 4:
     $area = new Area();
     $area->SetDatabase($database);
     $area->Create();
     break;
 case 5:
     $subject = new Subject();
     $subject->SetDatabase($database);
     $subject->Create();
     break;
 case 6:
     $article = new Article();
     $article->SetDatabase($database);
     $article->Create();
     break;
 case 7:
     $page = new Page();
     $page->SetDatabase($database);
     $page->Create();
     break;
 case 8:
     $menu = new Menu();
     $menu->SetDatabase($database);
     $menu->Create();
     break;
 case 9:
     $module = new Module();
     $module->SetDatabase($database);