-SQL: Structured Query Language
-HTML: Hyper Text Markup Language
-XHTML: Hyeper Text Markup Language
2 <?php
class printer extends forum
{
function execute()
{
$this->nohtml = true;
$this->get['t'] = intval($this->get['t']);
$topic = $this->db->fetch("
SELECT
t.topic_title, t.topic_description, t.topic_modes, t.topic_starter, t.topic_forum, t.topic_replies
FROM
{$this->pre}topics t, {$this->pre}forums f
WHERE
t.topic_id='{$this->get['t']}' AND f.forum_id=t.topic_forum");
if (!$topic) {
$this->set_title($this->lang->printer_not_found_title);
return $this->lang->printer_not_found;
}
if (!$this->perms->auth('topic_view', $topic['topic_forum'])) {
return ($this->perms->is_guest) ? sprintf($this->lang->printer_perm_topics_guest, $this->self) : $this->lang->printer_perm_topics;
}
$topic['topic_title'] = $this->format($topic['topic_title'], FORMAT_HTMLENTS | FORMAT_CENSOR);
if (!empty($topic['topic_description'])) {
$topic['topic_description'] = ', ' . $this->format($topic['topic_description'], FORMAT_HTMLENTS | FORMAT_CENSOR);
}
$posts = null;
$query = $this->db->query("
SELECT
p.post_emoticons, p.post_mbcode, p.post_time, p.post_text, p.post_author, p.post_id,
m.user_id, m.user_name, m.user_email, m.user_email_show
FROM
{$this->pre}posts p, {$this->pre}users m
WHERE
p.post_topic = {$this->get['t']} AND
p.post_author = m.user_id
ORDER BY
p.post_time");
while ($post = $this->db->nqfetch($query))
{
$post['post_time'] = $this->mbdate('M j, Y \a\\t g:i a', $post['post_time']);
if ($post['post_author']) {
if (!$post['user_email_show']) {
$post['user_email'] = null;
}
} else {
$post['user_name'] = 'Guest';
$post['user_email'] = null;
}
$params = FORMAT_HTMLENTS | FORMAT_CENSOR | FORMAT_BREAKS;
if ($post['post_mbcode']) {
$params |= FORMAT_MBCODE;
}
if ($post['post_emoticons']) {
$params |= FORMAT_EMOTICONS;
}
$post['post_text'] = $this->format($post['post_text'], $params);
$posts .= eval($this->template('PRINTER_POST'));
}
return eval($this->template('PRINTER_MAIN'));
}
}
?>
3 1.Apache Tomcat
2.Microsoft windows Server 2003 Internet Information Services (IIS)
3.Lighttpd
4.Sun Java System Web Server
5.Xitami Web Server
6.Zeus Web Server
4 a)Web editor merupakan komponen penting dari software CMS (Content Management System). Dengan editor inilah proses editing content website menjadi lebih mudah. Apalagi jika editor yang dipakai mempunyai fitur WYSIWYG.
B)
- Elemen 1 Penyunting teks. Contohnya adalah Notepad atau TextEdit, dimana HTML diubah didalam program editor tersebut.
- Elemen 2 WYSIWYG editor. Contohnya Microsoft Frontpage dan Macromedia Dreamweaver, dimana situs di edit menggunakan GUI (Graphical User Interface) dan format HTML ini secara otomatis di generate oleh editor ini.
- Elemen 3 Editor yang sudah memiliki templat, contohnya Rapidweaver dan iWeb, dimana, editor ini membolehkan user untuk membuat dan mengupdate websitenya langsung ke server web secara cepat, tanpa harus mengetahui apapun tentang HTML. Mereka dapat memilih templat yang sesuai dengan keinginan mereka, menambah gambar atau obyek, mengisinya dengan tulisan, dan dengan sekejap mereka sudah dapat membuat situs web tanpa harus melihat sama sekali kode-kode HTML.
Microsoft Expression Web
Microsoft Expression Web
WordPress
5 -Mozilla Firefox
-Internet Exporer
-Safari
-Flock
-Opera
-SeaMonkey
-Konqueror
0 komentar:
Posting Komentar