Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Html srifto storis
Parašė shalonyi· 2010 Sau. 19 10:01:49
#1
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());
?>
Parašė webzlt· 2010 Sau. 19 15:01:34
#2
per
css nuimk bold .
Parašė tautvys92· 2010 Sau. 19 20:01:30
#3
Problema ne čia kur tu nukopinai, o
CSS faile.
Parašė webzlt· 2010 Sau. 19 20:01:42
#4
tipo kazka pasakei ko as nebuvau pasakes :D
Parašė shalonyi· 2010 Sau. 20 09:01:33
#5
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;
}
Redagavo shalonyi· 2010 Sau. 20 09:01:29
Parašė webzlt· 2010 Sau. 20 10:01:30
#6
atsidarai pirmini teksta ir ziuri kam priskirtas tas storas sriftas, ji suradus eini i
css ir keiti
Parašė shalonyi· 2010 Sau. 20 10:01:46
#7
nesupratau biski? pas mane tas bold buna indexe bet vat tam ko ash noriu kp tik ir nera
Parašė webzlt· 2010 Sau. 20 11:01:14
#8
duok url to kur yra bold .