/**
  * Outputs the section to the client.
  */
 function Show()
 {
     if (!is_null($this->include) && strcmp(trim($this->include), '')) {
         include $this->include;
     }
     parent::Show();
 }
 /**
  * Outputs the section to the client.
  *
  * If a file was informed, output it. If some HTML code was informed, output it.
  */
 function Show()
 {
     if (!is_null($this->file) && strcmp(trim($this->file), '')) {
         readfile($this->file);
     }
     if (!is_null($this->code) && strcmp(trim($this->code), '')) {
         echo $this->code;
     }
     parent::Show();
 }
 /**
  * Outputs the section to the client.
  *
  * Outputs the header opening tags, then the content, then the header closing tags.
  */
 function Show()
 {
     echo "<head>\n";
     if (!empty($this->title)) {
         echo "<title>{$this->title}</title>\n";
     }
     if (!empty($this->styles)) {
         foreach ($this->styles as $style) {
             echo "<link href='{$style}' rel='stylesheet' type='text/css' />\n";
         }
     }
     parent::Show();
     echo "</head>\n";
 }
 /**
  * Outputs the section to the client.
  *
  * Outputs the HTML opening tags, then the content, then the HTML closing tags.
  */
 function Show()
 {
     echo "<div class='div_navi'>\n";
     $start = max(0, $this->page - $this->range);
     $end = min($this->pages - 1, $this->page + $this->range);
     if ($this->pages <= $this->range_all) {
         $start = 0;
         $end = $this->pages - 1;
     }
     if ($this->page > 0) {
         $this->url->parameters[$this->key] = 0;
         echo "<a href='" . $this->url->Get() . "'>{$this->first}</a>";
         $this->url->parameters[$this->key] = $this->page - 1;
         echo "&nbsp;<a href='" . $this->url->Get() . "'>{$this->previous}</a>";
     } else {
         echo "{$this->first}&nbsp;{$this->previous}";
     }
     if ($start > 0) {
         echo "&nbsp;...";
     }
     for ($i = $start; $i <= $end; $i++) {
         $this->url->parameters[$this->key] = $i;
         if ($i != $this->page) {
             echo "&nbsp;<a href='" . $this->url->Get() . "'>" . ($i + 1) . "</a>";
         } else {
             echo "&nbsp;" . ($i + 1);
         }
     }
     if ($end < $this->pages - 1) {
         echo "&nbsp;...";
     }
     if ($this->page < $this->pages - 1) {
         $this->url->parameters[$this->key] = $this->page + 1;
         echo "&nbsp;<a href='" . $this->url->Get() . "'>{$this->next}</a>";
         $this->url->parameters[$this->key] = $this->pages - 1;
         echo "&nbsp;<a href='" . $this->url->Get() . "'>{$this->last}</a><br>\n";
     } else {
         echo "&nbsp;{$this->next}&nbsp;{$this->last}<br>\n";
     }
     parent::Show();
     echo "</div>\n";
 }
 /**
  * Outputs the section to the client.
  */
 function Show()
 {
     echo "<div class='div_list_full'>\n";
     $page = isset($_REQUEST["page_{$this->table->name}"]) ? $_REQUEST["page_{$this->table->name}"] : 0;
     if ($this->recspage > 0) {
         $this->table->list_recspage = $this->recspage;
     }
     $this->table->ShowList($this->url, $page, $this->data);
     if (isset($this->sections["{$this->table->name}_list_navigator"])) {
         $this->sections["{$this->table->name}_list_navigator"]->page = $page;
         $this->sections["{$this->table->name}_list_navigator"]->pages = $this->table->NumPages($this->data);
     }
     parent::Show();
     echo "</div>\n";
 }
 /**
  * Outputs the section to the client.
  */
 function Show()
 {
     $this->table->ShowForm("form_{$this->table->name}", $this->url->Get(), $this->submit, $this->data);
     parent::Show();
 }
 /**
  * Outputs the section to the client.
  *
  * Outputs the HTML opening tags, then the content, then the HTML closing tags.
  */
 function Show()
 {
     echo "<html>\n";
     parent::Show();
     echo "</html>";
 }
 /**
  * Outputs the section to the client.
  */
 function Show()
 {
     echo "<div class='div_edit'>\n";
     parent::Show();
     echo "</div>\n";
 }