PHP קוד:
<?php
/******************************************************************************
* Name: GoLinks *
* Version: 1.0 *
* Copyright: XEWeb (http://golinks.xeweb.net) *
* *
* See the "license.txt" file for details of the GoLinks license. *
******************************************************************************/
$s = array();
/******************************************************************************
* Please set the appropriate variables below: *
******************************************************************************/
##### DATABASE #####
//-----------------------------------------------
// Database Host
$db_host = 'localhost';
//-----------------------------------------------
//-----------------------------------------------
// Database Username
$db_username = 'fixst777_123';
//-----------------------------------------------
//-----------------------------------------------
// Database Password
$db_password = '123123';
//-----------------------------------------------
//-----------------------------------------------
// Database Name
$db_name = 'fixst777_123';
//-----------------------------------------------
##### GENERAL #####
//-----------------------------------------------
// Site Name
$s['name'] = 'שם האתר';
//-----------------------------------------------
//-----------------------------------------------
// Site Description
$s['description'] = 'תיאור האתר';
//-----------------------------------------------
//-----------------------------------------------
// URL to site
$s['url'] = 'כתובת האתר';
//-----------------------------------------------
//-----------------------------------------------
// Keywords
$s['keywords'] = 'link, directory, exchange';
//-----------------------------------------------
//-----------------------------------------------
// Path to language file (english)
$s['language'] = 'languages/heb.php';
//-----------------------------------------------
//-----------------------------------------------
// Copyright notice
$s['copyright'] = 'Copyright © האתר שלי 2006. All rights reserved.';
//-----------------------------------------------
##### SETTINGS #####
//-----------------------------------------------
// How many categories per column?
$s['percolumn'] = 15;
//-----------------------------------------------
//-----------------------------------------------
// Show how many subcategories under each category on main page?
$s['subcategories'] = 3;
//-----------------------------------------------
//-----------------------------------------------
// Subcategories appear in random order?
$s['random_subcategories'] = 'no';
//-----------------------------------------------
//-----------------------------------------------
// Open links in a new window?
$s['newwin'] = 'no';
//-----------------------------------------------
//-----------------------------------------------
// Show how many of the latest links?
$s['latest'] = 10;
//-----------------------------------------------
##### LINK SUBMISSION #####
//-----------------------------------------------
// Links require admin approval?
$s['approval'] = 'yes';
//-----------------------------------------------
//-----------------------------------------------
// Maximum link submissions per email address?
$s['maxemail'] = 1;
//-----------------------------------------------
##### ADMIN #####
//-----------------------------------------------
// Admin password
$s['pass'] = 'סיסמאת אדמין';
//-----------------------------------------------
//-----------------------------------------------
// Admin email address
$s['email'] = 'האימייל של האדמין';
//-----------------------------------------------
########################################
##### STOP! #####
##### DO NOT EDIT BELOW THIS LINE! #####
########################################
mysql_connect($db_host,$db_username,$db_password) or die(mysql_error());
mysql_select_db($db_name) or die(mysql_error());
include_once($s['language']);
include_once("functions.php");
$adminpass = md5($s['pass']);
$ver = '1.0 גירסא חינמית';
?>
זה לא כזה קשה, אפילו כתוב לך מה לשים איפה.