IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Test Topic, A topic where you can test
Administrator
post Feb 22 2008, 04:18 PM
Post #1


Administrator
*

Group: Root Admin
Posts: 2
Joined: 22-February 08
Member No.: 1



Test
Go to the top of the page
 
+Quote Post
Administrator
post Feb 22 2008, 04:37 PM
Post #2


Administrator
*

Group: Root Admin
Posts: 2
Joined: 22-February 08
Member No.: 1



Some HTML code:

HTML
<form class="login" action="" method="post"> <input type="text" name="user" value="Потребител" onfocus="changeDefaultValue(this, 'Потребител', '')" onblur="changeDefaultValue(this, '', 'Потребител')"> <input type="password" name="password" value="Парола" onfocus="changeDefaultValue(this, 'Парола', '')" onblur="changeDefaultValue(this, '', 'Парола')"> <input class="submit" type="submit" value="Вход" name="login"> <input type="checkbox" name="save_me" id="save_me" class="checkbox"> <label for="save_me">Запомни ме</label> <a href="#">Регистрирай се</a> <span>|</span> <a href="#">Забравена парола</a> </form>


Some PHP code:

PHP
<? include "include/init.php"; $sec_name = 'BFB'; if (isset($_REQUEST['sec_name']) && $_REQUEST['sec_name']=='FOREX') $sec_name ='FOREX'; if (isset($_REQUEST['c_id'])) $EVENT_ID = ereg_replace("[^0-9]", "", $_REQUEST['c_id']); $SHOW_INDEX_HTML = TRUE; if ($sec_name == 'BFB' && isset($EVENT_ID) && !empty($EVENT_ID)) { $SHOW_INDEX_HTML = FALSE; /* Check if we hold such ID */ $sql = "SELECT cal.*, 0+cal.c_date AS cdate, c.comp_name, cal.comp_id FROM bfb_calendar cal, company c WHERE cal.comp_id=c.comp_id AND cal.c_id=" .$EVENT_ID; $q = SQL_query($sql); if (mysql_num_rows($q)==1) { /* Okay -> valid news selected */ $event = mysql_fetch_assoc($q); html_header ($PROPERTIES['site_name' .$table_suffix]. ' - Календар - ' .$event['c_short'], false, 'no_padding'); include "include/render/single_event.php"; } } if ($SHOW_INDEX_HTML) { html_header ($PROPERTIES['site_name' .$table_suffix]. ' - Календар', false, 'no_padding'); if (strtolower($sec_name) == 'bfb') include "include/render/calendar_index_bfb.php"; elseif (strtolower($sec_name) == 'forex') include "include/render/calendar_index_forex.php"; } html_footer();?>


Some SQL code:

SQL
DROP TABLE firms;CREATE TABLE firms ( id SERIAL, register_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, firm_name VARCHAR(250) NOT NULL DEFAULT 'Field was left empty', firm_code VARCHAR(250) NOT NULL DEFAULT 'Field was left empty', firm_phone VARCHAR(250) NOT NULL DEFAULT 'Field was left empty', firm_address TEXT, firm_contact_name VARCHAR(250) NOT NULL DEFAULT 'Field was left empty', firm_mail VARCHAR(250) NOT NULL DEFAULT 'Field was left empty', owner VARCHAR(250) NOT NULL, owner_passwd CHAR(32) NOT NULL, active BOOLEAN NOT NULL DEFAULT FALSE, KEY (firm_code), KEY (firm_name), UNIQUE KEY(owner)) ENGINE=MyISAM DEFAULT CHARSET=cp1251;



Some other code:

CODE
*{    margin: 0;    padding: 0;}html, body{    height: 100%;    overflow: auto;}body{    color: white;    background-color: black;    font-family: Verdana, sans-serif;    font-size: 10px;}img{    border: 0;    vertical-align: top;}a{    color: white;    text-decoration: none;}a:hover{    text-decoration: underline;}ul{    list-style-type: none;}.clr{    clear: both;    display: block;    font-size: 0px;    line-height: 0px;    width: 0px;    height: 0px;}.fl{    float: left;}.fr{    float: right;}h1{    padding-left: 20px;    padding-top: 10px;    padding-bottom: 10px;}
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



Lo-Fi Version Time is now: 14th October 2026 - 04:07 PM