shalonyi
Narys
Kapitonas
Pranešimai: 680
Įstojęs: 2008 Gru. 22 22:12:39
gal kas zino kp suplonint srifta?
db toks,tas apacioj:
o reiketu mzdg dokio kp virsui ;/
stai kodas:
<?php
//first you need to define db info
define('mySQL_hostname', 'localhost'); //database IP
define('mySQL_database', 'l2jdb'); //database name
define('mySQL_username', 'root'); //database user
define('mySQL_password', ''); //database password
//connects to mysql
$db_link = mysql_pconnect( mySQL_hostname, mySQL_username, mySQL_password )
or die( 'Error connecting to mysql <br><br>'.mysql_error() );
//connects to Database
$db_select = mysql_select_db( mySQL_database, $db_link )
or die( 'Error connecting to Database<br><br>'.mysql_error() );
//selects desired table
$chars= mysql_query("SELECT `online` FROM `characters` where `online`=1");
//tells how much rows are there (will come helpfull with while loops)
$rows = mysql_num_rows($chars);
echo "<font color=#FFFFFF>Prisijungusiu zaideju: <span style='color:red'>".$rows."</font></div><br><br>"; //prints out the $x number of players online
?>
<center>Geriausiu zaideju top 10:<br><br><br>
<?php
$local_connection = mysql_connect("localhost","root","") or die(mysql_error());
mysql_select_db("l2jdb") or die(mysql_error());
?>
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
per css nuimk bold .www.smilez360.com
www.thevideowars.com
www.pigiau.biz
tautvys92
Narys
Kapitonas
Pranešimai: 666
Įstojęs: 2008 Bal. 18 14:04:53
Problema ne čia kur tu nukopinai, o CSS faile.IT naujienos
http://webdesignertutorials.com
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
tipo kazka pasakei ko as nebuvau pasakes www.smilez360.com
www.thevideowars.com
www.pigiau.biz
shalonyi
Narys
Kapitonas
Pranešimai: 680
Įstojęs: 2008 Gru. 22 22:12:39
esme tame kad cia kur idejau su juo buvo dr 1 failiukas,ir css nebuvo,o jei pakeisiu pacio web css tj wisam puslapije bus taip :D
stai css ,nematau jokio Bold:
body {
text-align: center;
background-image : url('images/header.jpg');
background-color : #000;
background-repeat: no-repeat;
background-position: top font;
font-family : Tahoma;
font-size : 11px;
}
a {
color : #fff;
text-decoration : none;
}
a:hover {
color : #fff;
text-decoration : none;
}
.links {
background-image : url('images/sub.png');
background-repeat: no-repeat;
width: 504px;
text-align: left;
height: 44px;
float: left;
font-size: 12px;
}
.sub-links {
font-size: 12px;
text-align: center;
margin-top: 13px;
word-spacing: 1em;
}
.status {
float: right;
background-image: url('images/status.png');
background-repeat: no-repeat;
width: 200px;
height: 44px;
word-spacing: 1em;
}
.info {
background-image: url('images/info.png');
background-repeat: no-repeat;
width: 710px;
font-size: 10px;
height: 106px;
}
.capmain {
background-image: url('images/capmain.png');
background-repeat: no-repeat;
width: 493px;
height: 9px;
}
.main {
background-image: url('images/fonas.png');
background-repeat: repeat-y;
width: 493px;
color: #4a4949;
}
.news-bot {
background-image: url('images/news-bot.png');
background-repeat: no-repeat;
width: 493px;
height: 9px;
}
.scapmain {
background-image: url('images/scapmain.jpg');
background-repeat: no-repeat;
width: 205px;
height: 9px;
}
.panel-main {
background-image: url('images/panel-main.jpg');
background-repeat: repeat-y;
width: 205px;
color: #4a4949;
}
.panel-bot {
background-image: url('images/panel-bot.png');
background-repeat: no-repeat;
width: 205px;
height: 9px;
}
.footer {
color: #2d2d2d;
width: 493px;
text-align: center;
}
.footer a {
color: #2d2d2d;
text-decoration: none;
}
.footer a:hover {
color: #2d2d2d;
text-decoration: underline;
}
.news {
color: #4a4949;
text-align: left;
margin-left: 20px;
margin-right: 20px;
}
.title {
color: #fff;
font-size: 12px;
text-align: left;
margin-right: 20px;
}
.panel-text {
color: #fff;
text-align: left;
margin-left: 20px;
margin-right: 20px;
}
.text {
color: #fff;
margin-top: 15px;
text-align: center;
}
.download {
color: #fff;
margin-top: 13px;
margin-left: 10px;
float: left;
width: 400px;
}
.rates {
color: #263f42;
background-image: url('images/info.jpg');
background-repeat: no-repeat;
width: 272px;
height: 79px;
margin-top: 13px;
padding-right: 14px;
float: right;
}
.rates a {
color: #0669a1;
text-decoration: none;
}
.name {
color: #fff;
text-align: center;
margin-left: 20px;
margin-right: 20px;
}
.date {
color: #1f5472;
}
.news a {
color: #0669a1;
text-decoration: none;
}
img, div {
behavior: url('iepngfix.html');
}
.vote {
background-image: url('images/vote.html');
background-repeat: no-repeat;
width: 710px;
height: 271px;
}
.vote-text {
color: #fff;
padding: 70px;
}
.vote-footer {
color: #2d2d2d;
width: 710px;
text-align: center;
}
.vote-footer a {
color: #2d2d2d;
text-decoration: none;
}
.vote-footer a:hover {
color: #2d2d2d;
text-decoration: underline;
}
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
atsidarai pirmini teksta ir ziuri kam priskirtas tas storas sriftas, ji suradus eini i css ir keitiwww.smilez360.com
www.thevideowars.com
www.pigiau.biz
shalonyi
Narys
Kapitonas
Pranešimai: 680
Įstojęs: 2008 Gru. 22 22:12:39
nesupratau biski? pas mane tas bold buna indexe bet vat tam ko ash noriu kp tik ir nera
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
duok url to kur yra bold .www.smilez360.com
www.thevideowars.com
www.pigiau.biz
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Dalinuosi, dovanoju!
Jūsų saitai
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!