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
86
87
88
89
90
91
92
|
<?php
/* Written by Gerben Schmidt, http://scripts.zomp.nl */
include_once("functions.php");
// edit these variables to match your MySQL database settings $dbhost="localhost"; $dbname="zomplog"; $dbuser="admin"; $dbpass="mscmks71s11f132n";
connectToDB();
/*----------------------------------------------------------------------------*/
/* Decide below which extra's you want to load, 1=yes 0=no. This is important because it dictates how you can use zomplog. You can change these variables at any time. */
// Do you want zomplog to have comments-functionality? 1=yes 0=no $use_comments = 1;
// Do you want to use image upload? 1=yes 0=no // If you choose "yes" be sure to CHMOD the "upload"-folder to 777 $use_upload = 1; // maximum size for uploads $max_size = 200000;
// Do you want to be able to change the date of each post manually? $use_manualdate = 0;
/*----------------------------------------------------------------------------*/
/* Enter the number of entries you want to display per page and the number of pagelinks you want to show at the bottom of each page */
// number of entries to display per page $max = "5";
// number of pagelinks at one time in the previous/next scroller (the default is fine) $scroll = "5";
/*----------------------------------------------------------------------------*/
/* Some other customisations */
// language settings - the name of your language file $language = 'english.php';
// skin settings - the name of the folder of your preferred skin (put it in the skins-directory!) $skin = 'plain';
// date settings $date = date("m/d/Y");
// name of table for db in mysql database (the default is fine) $table = "zomplog_db";
// name of table for comments in mysql database (the default is fine) $table_comments = "zomplog_comments";
// name of table for user management in mysql database (the default is fine) $table_users = "zomplog_users";
// name of table for categories in mysql database (the default is fine) $table_cat = "zomplog_cat";
/*----------------------------------------------------------------------------*/
/* Some information about your site, used for the XML-parser */
// The name of your site $sitename = "Zomplog";
// Full URL to your zomplog installation $siteurl = "http://heimam.byethost4.com/zomplog/";
// Site description $sitedesciption = "Zomplog is a weblog-script, written by Gerben Schmidt";
/*----------------------------------------------------------------------------*/
/* Don't change anything below here */
// current zomplog version $version = "2.3";
?>
|