[go: up one dir, main page]

Menu

[r19]: / admin / faq_view.php  Maximize  Restore  History

Download this file

85 lines (83 with data), 2.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
/*
FAQ system for OSC 2.2 MS2 v2.1 22.02.2005
Originally Created by: http://adgrafics.com admin@adgrafics.net
Updated by: http://www.webandpepper.ch osc@webandpepper.ch v2.0 (03.03.2004)
Last Modified: http://shopandgo.caesium55.com timmhaas@web.de v2.1 (22.02.2005)
Released under the GNU General Public License
osCommerce, Open Source E-Commerce Solutions
Copyright (c) 2004 osCommerce
*/
require('includes/application_top.php');
require(DIR_WS_LANGUAGES . $language . '/faq.php');
require('includes/functions//faq.php');
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo FAQ_SYSTEM; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
</head>
<style>.list {line-height: 18px;}</style>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
<tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top">
<table border=0 width="100%">
<tr class="pageHeading"><td><?php echo FAQ_VIEW . ' (' . $language . ')';?></td></tr>
<tr><td><br /></td></tr>
<tr class="dataTableRow"><td class="dataTableContent"><ol>
<?php
while ($faq = faq_toc($language)) {
?>
<li class="list"><?php echo $faq['toc'];?>
<?php
}
?>
</ol>
</td></tr>
<tr>
<td><br /></td>
</tr>
<tr class="dataTableContent"><td>
<ol>
<?php
while ($faq = read_faq($language)) {
?>
<li>
<span id="<?php echo $faq['faq_id']?>">
<b><?php echo $faq['question'];?></b><br />
<?php echo $faq['answer'];?>
</li><br />
<?php
}
?>
</ol>
</td></tr>
<tr><td align="right">
<?php echo '<a href="' . tep_href_link(FILENAME_FAQ_MANAGER, 'faq_action=Added&faq_lang='.$language, 'NONSSL') . '">' . tep_image_button('button_insert.gif', FAQ_ADD) . '</a>'; ?>
</td></tr>
</table>
</td>
<!-- body_text_eof //-->
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br />
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>