Hi,
On IE the show/hide smiley box is broken. If you click hide, the user list disappears. Clicking show brings nothing (no smiley box, no user list) back.
Using very latest SVN trunk.
Moderators: OldWolf, re*s.t.a.r.s.*2
<div style="width: 800px;">
<?php $chat->printChat(); ?>
</div>
<?php
require_once dirname(__FILE__)."/chat/src/phpfreechatconfig.class.php";
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["channel"] = "bihinternet";
$params["language"] = "ba_BA";
$params["theme"] = "bihinternet";
$ip = $_SERVER['REMOTE_ADDR'];
$params["nick"] = $ip;
$params["prefix"] = "myprefix_";
$params["frozen_nick"] = false; // do not allow to change the nickname
$params["shownotice"] = 1; // 0 = nothing, 1 = just nickname changes, 2 = 1+connect/quit
$params["max_nick_len"] = 20; // nickname length could not be longer than 10 caracteres
$params["max_text_len"] = 200; // a message cannot be longer than 50 caracteres
$params["refresh_delay"] = 5000; // chat refresh speed is 10 secondes (10000ms)
$params["timeout"] = 60000;
$params["max_msg"] = 13; // max message in the history is 15 (message seen when reloading the chat)
$params["height"] = "230px"; // height of chat area is 230px
$params["width"] = ""; // width of chat area is 800px
$params["debug"] = false; // activate debug console
$params["debugxajax"] = false; // activate xajax debug (js popup)
$params["connect_at_startup"] = true;
$params["start_minimized"] = false;
$params["nickmarker"] = true;
$params["clock"] = false;
$params["openlinknewwindow"] = true;
$params["btn_sh_whosonline"] = true;
$params["btn_sh_smileys"] = true;
// setup paths
$params["container_type"] = "File";
$params["data_private_path"] = dirname(__FILE__)."/chat/data/private";
$params["server_script_path"] = dirname(__FILE__)."/chat_server.php";
?>
<?php
require_once dirname(__FILE__)."/chat/src/phpfreechat.class.php";
require_once "chat_config.php";
$chat = new phpFreeChat( $params );
?>
<?php
$order = $_GET['order'];
if ($order == "bitrate") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY s.Bitrate DESC";
} elseif ($order == "location") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY s.Location";
} elseif ($order == "maxusers") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY s.MaxUsers DESC";
} elseif ($order == "player") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY s.Player";
} elseif ($order == "rate") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY n DESC";
} else {
$hamta = "SELECT s.*, SUM(UNIX_TIMESTAMP(ss.End)-UNIX_TIMESTAMP(ss.Start)) AS 'listened', ROUND(AVG(r.Rate), 2) as 'n' FROM (Station s LEFT JOIN Statistics ss ON s.StationId = ss.StationId) LEFT JOIN Rates r ON ss.StationId = r.StationID GROUP BY s.StationId ORDER BY s.Name";
}
$resultat = mysql_query($hamta) or die("Det gick inte att hämta information från databasen!");
?>
<?php
function secs_to_string ($secs, $long=false)
{
// reset hours, mins, and secs we'll be using
$days = 0;
$hours = 0;
$mins = 0;
$secs = intval ($secs);
$t = array(); // hold all 3 time periods to return as string
// take care of mins and left-over secs
if ($secs >= 60) {
$mins += (int) floor ($secs / 60);
$secs = (int) $secs % 60;
// now handle hours and left-over mins
if ($mins >= 60) {
$hours += (int) floor ($mins / 60);
$mins = (int) $mins % 60;
// now handle days and left-over hours
if ($hours >= 24) {
$days += (int) floor ($hours / 24);
$hours = (int) $hours % 24;
// we're done! now save time periods into our array
$t['days'] = (intval($days) < 10) ? "0" . $days : $days;
$t['hours'] = (intval($hours) < 10) ? "0" . $hours : $hours;
$t['mins'] = (intval($mins) < 10) ? "0" . $mins : $mins;
$days2 = (intval($days) < 10) ? "0" . $days : $days;
$hours2 = (intval($hours) < 10) ? "0" . $hours : $hours;
$mins2 = (intval($mins) < 10) ? "0" . $mins : $mins;
}
}
}
// what's the final amount of secs?
$t['secs'] = (intval ($secs) < 10) ? "0" . $secs : $secs;
// decide how we should name hours, mins, sec
$str_days = ($long) ? "day" : "day";
$str_hours = ($long) ? "hour" : "hour";
$str_mins = ($long) ? "minute" : "min";
$str_secs = ($long) ? "second" : "sec";
// build the pretty time string in an ugly way
$time_string = "";
$time_string .= ($t['hours']) ? $t['hours'] . " $str_hours" . ((intval($t['hours']) == 1) ? "" : "s") : "";
$time_string .= ($t['mins']) ? (($t['hours']) ? ", " : "") : "";
$time_string .= ($t['mins']) ? $t['mins'] . " $str_mins" . ((intval($t['mins']) == 1) ? "" : "s") : "";
$time_string .= ($t['hours'] || $t['mins']) ? (($t['secs'] >= 0) ? ", " : "") : "";
$time_string .= ($t['secs']) ? $t['secs'] . " $str_secs" . ((intval($t['secs']) == 1) ? "" : "s") : "";
return empty($time_string) ? 0 : $time_string;
}
function secs_to_string_compact ($secs)
{
$str = secs_to_string ($secs);
if (!$str) return 0;
$day_pos = strpos ($str, "day");
$hour_pos = strpos ($str, "hour");
$min_pos = strpos ($str, "min");
$sec_pos = strpos ($str, "sec");
$d = ($day_pos) ? intval (substr ($str, 0, $day_pos)) : 0;
$h = ($hour_pos) ? intval (substr ($str, $hour_pos - 3, $hour_pos)) : 0;
$m = ($min_pos) ? intval (substr ($str, $min_pos - 3, $min_pos)) : 0;
$s = ($sec_pos) ? intval (substr ($str, $sec_pos - 3, $sec_pos)) : 0;
$d = ($d < 10) ? "0" . $d : $d;
$h = ($h < 10) ? "0" . $h : $h;
$m = ($m < 10) ? "0" . $m : $m;
$s = ($s < 10) ? "0" . $s : $s;
//return ("$d dana $h:$m");
return ("$days d $hours s $mins m $secs s");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=windows-1250"/>
<title>BiH Internet Radio</title>
<link rev="made" href="mailto:none@none.com"/>
<meta name="keywords" content="bosna, hercogovina, hercegovacke, radio, internet, bosanski, bosanske, stainca, stanice, bh, bh radio internet stanice, bh1, bm, brcko, dobre vibracije, federacije bih, feral, kalman, kameleon, m, naba, q, slon, tnt, bih, direktan, prenos, direktan prenos, direktno, uzivo, utakmice, utakmica"/>
<meta name="description" content="Portal BiH Internet Radio je web stranica na kojoj se se mogu naci bosansko hercegovacke internet radio stanice. To su vecinom stanice što se prvenstveno slušaju lokalno (i šire) u gradovima BiH, ali se mogu slušati direktno i preko interneta. Jedan dio radio stanica na ovom portalu su stanice sto se samo prenose preko interneta.
Radio se direktno moze slušati sa portala, samo kliknite na ime stanice i on ce poceti da svira."/>
<meta name="author" content="None"/>
<meta name="robots" content="all"/>
<script language="javascript" type="text/javascript">
<!--
// Funktion att öppna nytt fönster
function popup(url,name,scr,wid,hei,pol,pot) {
window.open(url,name, "status=0, scrollbars="+scr+",width="+wid+",height="+hei+",left="+pol+",top="+pot+"");
}
// AJAX
// to come ...
//-->
</script>
<?php $chat->printJavascript(); ?>
<?php $chat->printStyle(); ?>
<!--
INCLUDE CSS!
-->
<link rel="stylesheet" type="text/css" href="default.css" title="TOCStyle"/>
</head>
<body class="body">
<div class="pagecontainer">
<br />
<div class="header">
BiH Internet Radio
</div>
<table width="800" border="1">
<tr class="tablemenu">
<td>
<a class="toplinks" href="index.php">Početna</a>
|
<a class="toplinks" href="#chat">Chat</a>
|
<a class="toplinks" href="javascript:popup('addstation.php','addstation',1,300,600,300,200);">Dodaj Stanicu</a>
|
<a class="toplinks" href="javascript:popup('help.php','help',0,640,220,300,200);">Pomoć</a>
<!-- |
<a class="toplinks" href="javascript:popup('chat/chat.php','chat',0,650,550,300,200);">Chat</a> -->
|
<a class="toplinks" href="javascript:popup('statistics.php','statistics',0,640,220,300,200);">Statistika</a>
|
<a class="toplinks" href="javascript:popup('about.php','about',0,640,220,300,200);">O Nama</a>
|
</td>
</tr>
<tr><td>
<table border="1">
<tr class="tablecounters">
<td width="266"> </td>
<td width="266"><center><b>25/3 2006<br />Chat stavljen na dnu stranice!</b></center></td>
<td width="266">
<?php
include("config.php");
$get = mysql_fetch_array(mysql_query("SELECT * FROM pavsta_stats WHERE id = '1'"));
$get2 = mysql_fetch_array(mysql_query("SELECT * FROM pavsta_stats WHERE id = '2'"));
$getsql = mysql_query("SELECT * FROM pavsta_stats_log WHERE ip = '$REMOTE_ADDR'");
$getip = mysql_num_rows($getsql);
if($getip==0)
{
mysql_query("UPDATE pavsta_stats SET number=number + '1' WHERE id = '1'");
mysql_query("UPDATE pavsta_stats SET number=number + '1' WHERE id = '2'");
mysql_query("INSERT INTO pavsta_stats_log (ip) VALUES ("$REMOTE_ADDR")");
$totalhits = $get[number] + 1;
$totalu = $get2[number] + 1;print("
Broj Posjeta: $totalhits
<br />Broj Posjetilaca: $totalu
");
}
elseif($getip>=1)
{
mysql_query("UPDATE pavsta_stats SET number=number + '1' WHERE id = '1'");
$totalhits = $get[number] + 1;
print("
Broj Posjeta: $totalhits
<br />Broj Posjetilaca: $get2[number]
");
}
print("<br />Broj trenutnih korisnika: ");
include("onlinesql.php");
?>
</td>
</tr>
</table>
</td></tr>
<tr class="tableregular">
<td>
<center>Pošto je ova stranica još uvijek u fazi izgradnje, informacije kao "maximalno slušalaca" i nove radio stanice (može i "privatni" internet radio kao DC hub radio) su dobro došle. Pošaljite mi sve što znate na <a class="menu" href="mailto:none@none.com">none@none.com</a>. Ako znate neku bosansko hercegovačku stanicu što nije ovdje u listi, kliknite na "Dodaj Stanicu". Hvala u naprijed.</center>
</td>
</tr>
</table>
<br />
<table width="800" border="1">
<tr>
<td>
<?php
print("<table border="0">");
print("<tr class="tablemenu">");
if ($order == "") {
print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Stanica</u></td>");
} else {
print("<td width="100%"> <a href="index.php" class="menutable">Stanica</a> </td>");
}
if ($order == "location") {
print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Lokacija</u></td>");
} else {
print("<td> <a href="index.php?order=location" class="menutable">Lokacija</a> </td>");
}
if ($order == "listened") {
print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Vremena Slušano</u></td>");
} else {
print("<td> <a href="index.php?order=listened" class="menutable">Vremena Slušano</a> </td>");
}
//if ($order == "bitrate") {
//print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Bitrate</u></td>");
//} else {
//print("<td> <a href="index.php?order=bitrate" class="menutable">Bitrate</a> </td>");
//}
//if ($order == "maxusers") {
//print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Max. Slušalaca</u></td>");
//} else {
//print("<td> <a href="index.php?order=maxusers" class="menutable">Max. Slušalaca</a> </td>");
//}
// if ($order == "player") {
// print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Player</u></td>");
// } else {
// print("<td> <a href="index.php?order=player" class="menutable">Player</a> </td>");
// }
if ($order == "rate") {
print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Prosjek Ocjena</u></td>");
} else {
print("<td> <a href="index.php?order=rate" class="menutable">Prosjek Ocjena</a> </td>");
}
// print("<td> Comments </td>");
print("<td> Informacije </td></tr>");
// print("<td> Glasaj! </td></tr>");
while($rad = mysql_fetch_array($resultat))
{
if($c == 1) {
print("<tr class="row1"><td><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> ");
if ($rad["Player"] == "wmp") {
print("<a class="station" href="javascript:popup('play.php?id=");
print($rad["StationId"]);
print("&player=wmp");
print("','play");
print($rad["StationId"]);
print("',0,310,179,300,200);">");
} elseif ($rad["Player"] == "real") {
print("<a class="station" href="javascript:popup('play.php?id=");
print($rad["StationId"]);
print("&player=real");
print("','play");
print($rad["StationId"]);
print("',0,285,114,300,200);">");
} elseif ($rad["Player"] == "winamp") {
print("<a class="station" href="javascript:popup('play.php?id=");
print($rad["StationId"]);
print("&player=winamp");
print("','play");
print($rad["StationId"]);
print("',0,310,179,300,200);">");
}
$c = 2;
} else {
print("<tr class="row2"><td><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> ");
if ($rad["Player"] == "wmp") {
print("<a class="station" href="javascript:popup('play.php?id=");
print($rad["StationId"]);
print("&player=wmp");
print("','play");
print($rad["StationId"]);
print("',0,310,179,300,200);">");
} elseif ($rad["Player"] == "real") {
print("<a class="station" href="javascript:popup('play.php?id=");
print($rad["StationId"]);
print("&player=real");
print("','play");
print($rad["StationId"]);
print("',0,285,114,300,200);">");
} elseif ($rad["Player"] == "winamp") {
print("<a class="station" href="javascript:popup('play.php?id=");
print($rad["StationId"]);
print("&player=winamp");
print("','play");
print($rad["StationId"]);
print("',0,310,125,300,200);">");
}
$c = 1;
}
print($rad["Name"]);
print("</a>");
print("</td><td>");
print(" ".$rad['Location']." ");
//print("</td><td>");
//if ($rad["Bitrate"] == "0") {
//print(" - ");
//} else {
//print(" ".$rad["Bitrate"]);
//}
//print("</td><td>");
//if ($rad["MaxUsers"] == "0") {
//print(" - ");
//} else {
//print(" ".$rad["MaxUsers"]);
//}
print("</td><td>");
// if ($rad["Player"] == "wmp") {
// print(" <img src="wmp.png" height="18" weight="18" alt="Windows Media Player" /> ");
// } elseif ($rad["Player"] == "real") {
// print(" <img src="real.png" height="18" weight="18" alt="Real Player" /> ");
// } elseif ($rad["Player"] == "winamp") {
// print(" <img src="winamp.png" height="18" weight="18" alt="Winamp" /> ");
// }
// print("</td><td>");
$pretty_string_short = secs_to_string_compact ($rad["listened"]);
print(" ".$pretty_string_short." ");
//print(" ".$rad["listened"]." ");
print("</td><td>");
if ($rad["n"] == "") {
print(" - ");
} else {
print(" ".$rad["n"]);
}
// print("</td><td>");
// print("<a class="readcomments" href="javascript:popup('comments.php?id=");
// print($rad["StationId"]);
// print("','readcomments',1,500,400,300,200);");
// print("">Read Comments</a>");
// print("<br>");
// print(" 0 ");
// print("<a class="writecomment" href="javascript:popup('addcomment.php?id=");
// print($rad["StationId"]);
// print("','writecomment',1,500,400,300,200);");
// print("">Write Comment</a>");
print("</td><td>");
print("<center> <a href="javascript:popup('info.php?id=");
print($rad["StationId"]);
print("','info',1,470,250,300,200);");
print(""><img src="info.png" width="18" height="18" border="0" alt="info");
print($rad["Name"]);
print("" /></a> </center>");
// print("</td><td>");
// print(" <a class="vote" href="javascript:popup('voter.php?id=");
// print($rad["StationId"]);
// print("','vote',0,215,80,300,200);");
// print("">Glasaj!</a> ");
print("</td></tr>");
}
mysql_free_result($resultat);
?>
</table>
</td>
</tr>
</table>
<br />
<table width="800" border="1">
<tr class="tablemenu">
<td>
<a id="chat"></a>Chat
</td>
</tr>
<tr class="tableregular">
<td>
<div style="width: 800px;">
<?php $chat->printChat(); ?>
</div>
</td>
</tr>
</table>
<br />
<table width="800" border="1">
<tr class="tablemenu">
<td>
Copyright 2006 None None. All rights reserved.
</td>
</tr>
<tr class="tableversion">
<td>
Verzija 0.6 [u izgradnji]
</td>
</tr>
</table>
<div class="validbottom">
<img src="valid-xhtml.png" alt="xhtml valid" />
<img src="valid-css.png" alt="css valid" />
</div>
<?php
mysql_close($connection);
?>
</div>
</body>
</html>
.body {
text-align: center;
margin: 10px auto;
width: 800px;
color: black;
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
background-image: url(bg.gif);
}
.pagecontainter {
text-align: center;
margin: 10px auto;
width: 800px;
color: black;
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
}
.header {
color: #fabb00;
width: 800px;
font-weight: bold;
font-size: 20pt;
font-family: Verdana;
text-align: left;
}
.row0 {
background: #00cefa;
color: black;
font-weight: 100;
font-size: 9pt;
font-family: Verdana;
text-align: left;
background-image: url();
}
.row1 {
background: #98d2f4;
color: black;
font-weight: 100;
font-size: 8pt;
font-family: Verdana;
text-align: left;
background-image: url();
}
.row2 {
background: #bbecf3;
color: black;
font-weight: 100;
font-size: 8pt;
font-family: Verdana;
text-align: left;
background-image: url();
}
.tablemenu {
color: black; /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: left;
background-image: url(meny_yellowbg.gif);
}
.tableregular {
color: black; /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: left;
background-image: url();
}
.tableversion {
color: black; /* text color */
font-weight: 100;
font-size: 7pt;
font-family: Verdana;
text-align: right;
background-image: url();
}
.tablecounters {
color: black; /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: right;
background-image: url();
}
.validbottom {
text-align: center;
margin: 10px auto;
width: 800px;
color: black;
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
}
.ratemenu {
color: black; /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: center;
background-image: url(meny_yellowbg.gif);
}
.ratediv1 {
display: inline;
text-align: center;
margin: 0px 0px;
color: black; /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: left;
}
.ratediv2 {
display: none;
text-align: center;
margin: 0px 0px;
color: black; /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: left;
}
a:link.toplinks { color: black } /* unvisited links */
a:visited.toplinks { color: black } /* visited links */
a:hover.toplinks { color: #0a5868 } /* user hovers */
a:active.toplinks { color: #07868d } /* active links */
a:link.menu { color: black } /* unvisited links */
a:visited.menu { color: black } /* visited links */
a:hover.menu { color: #0a5868 } /* user hovers */
a:active.menu { color: #07868d } /* active links */
a:link.readcomments { color: black } /* unvisited links */
a:visited.readcomments { color: black } /* visited links */
a:hover.readcomments { color: #0a5868 } /* user hovers */
a:active.readcomments { color: #07868d } /* active links */
a:link.writecomment { color: black } /* unvisited links */
a:visited.writecomment { color: black } /* visited links */
a:hover.writecomment { color: #0a5868 } /* user hovers */
a:active.writecomment { color: #07868d } /* active links */
a:link.vote { color: black } /* unvisited links */
a:visited.vote { color: black } /* visited links */
a:hover.vote { color: #0a5868 } /* user hovers */
a:active.vote { color: #0a5868 } /* active links */
a:link.station { color: black } /* unvisited links */
a:visited.station { color: black } /* visited links */
a:hover.station { color: #0a5868 } /* user hovers */
a:active.station { color: #07868d } /* active links */
a:link.menutable { color: black ;text-decoration:none } /* unvisited links */
a:visited.menutable { color: black ;text-decoration:none } /* visited links */
a:hover.menutable { color: #0a5868 ;text-decoration:none } /* user hovers */
a:active.menutable { color: #07868d ;text-decoration:none } /* active links */
a:link.rate1 { color: red ;text-decoration:none } /* unvisited links */
a:visited.rate1 { color: red ;text-decoration:none } /* visited links */
a:hover.rate1 { color: #0a5868 ;text-decoration:none } /* user hovers */
a:active.rate1 { color: #07868d ;text-decoration:none } /* active links */
a:link.rate2 { color: orange ;text-decoration:none } /* unvisited links */
a:visited.rate2 { color: orange ;text-decoration:none } /* visited links */
a:hover.rate2 { color: #0a5868 ;text-decoration:none } /* user hovers */
a:active.rate2 { color: #07868d ;text-decoration:none } /* active links */
a:link.rate3 { color: yellow ;text-decoration:none } /* unvisited links */
a:visited.rate3 { color: yellow ;text-decoration:none } /* visited links */
a:hover.rate3 { color: #0a5868 ;text-decoration:none } /* user hovers */
a:active.rate3 { color: #07868d ;text-decoration:none } /* active links */
a:link.rate4 { color: #66CC99 ;text-decoration:none } /* unvisited links */
a:visited.rate4 { color: #66CC99 ;text-decoration:none } /* visited links */
a:hover.rate4 { color: #0a5868 ;text-decoration:none } /* user hovers */
a:active.rate4 { color: #07868d ;text-decoration:none } /* active links */
a:link.rate5 { color: #00BB00 ;text-decoration:none } /* unvisited links */
a:visited.rate5 { color: #00BB00 ;text-decoration:none } /* visited links */
a:hover.rate5 { color: #0a5868 ;text-decoration:none } /* user hovers */
a:active.rate5 { color: #07868d ;text-decoration:none } /* active links */
div#<?php echo $prefix; ?>container * {
border: 0;
margin: 0;
padding: 0;
}
div#<?php echo $prefix; ?>container {
<?php if ($width!="") { ?>width: <?php echo $width; ?>;<?php } ?>
border: black solid 0px;
color: #338822;
background-color: #d9edd8;
background-image: url(<?php echo $c->getFileUrlFromTheme('images/bg.gif'); ?>);
background-position: right;
background-repeat: repeat;
padding: 7px;
min-height: 20px;
}
#<?php echo $prefix; ?>minmax {
cursor: pointer;
}
div#<?php echo $prefix; ?>content {
<?php if ($height!="") { ?>height: <?php echo $height; ?>;<?php } ?>
position: relative;
margin-top: 1.5em;
width: 100%;
}
div#<?php echo $prefix; ?>chat {
position: absolute;
left: 0;
top: 0;
border: 1px solid black;
overflow: auto;
width: 79%;
height: 100%;
background-color: #FFF;
}
div#<?php echo $prefix; ?>smileys {
position: absolute;
bottom: 0;
right: 0;
padding: 0;
width: 20%;
height: 58%;
overflow: auto;
text-align: center;
border: 1px solid black;
background-color: #FFF;
}
div#<?php echo $prefix; ?>online {
position: absolute;
right: 0;
top: 0;
padding: 0;
overflow: auto;
border: 1px solid black;
color: #000;
background-color: #FFF;
width: 20%;
height: 39%;
}
div#<?php echo $prefix; ?>online ul {
list-style-type: none;
margin: 0;
padding: 0;
margin-left: 8px;
margin-right: 8px;
white-space: nowrap;
}
div#<?php echo $prefix; ?>online li {
border-bottom: 1px solid #DDD;
font-weight: bold;
font-size: 90%;
}
h2#<?php echo $prefix; ?>title {
display: none;
float: left;
font-size: 110%;
}
img#<?php echo $prefix; ?>minmax {
display: none;
float: right;
}
.<?php echo $prefix; ?>invisible {
display: none;
}
div.<?php echo $prefix; ?>message {
background-color: #FFF;
margin: 0;
}
.<?php echo $prefix; ?>words {
font-size: 90%;
}
div.<?php echo $prefix; ?>oldmsg {
background-color: #FFF;
}
span.<?php echo $prefix; ?>heure, span.<?php echo $prefix; ?>date {
color: #bebebe;
font-size: 80%;
}
span.<?php echo $prefix; ?>nick {
color: #fbac17;
font-weight: bold;
}
div#<?php echo $prefix; ?>input_container {
margin-top: 5px;
}
div<?php echo $prefix; ?>input_container table {
width: 100%;
}
input#<?php echo $prefix; ?>words {
border: black solid 1px;
width: 100%;
height: 1.3em;
}
div#<?php echo $prefix; ?>cmd_container {
position: relative;
margin-top: 5px;
width: 100%;
}
input#<?php echo $prefix; ?>handle {
border: black solid 1px;
padding: 0 4px 0 4px;
color: black;
<?php if ($nick!="") { ?>background-color: #CCC;<?php } ?>
text-align: center;
margin-bottom: 5px;
}
a#<?php echo $prefix; ?>logo {
position: absolute;
right: 0;
top: 0;
}
div.<?php echo $prefix; ?>btn {
display: inline;
cursor: pointer;
}
div.<?php echo $prefix; ?>btn img {
border: 1px solid #393; /* same as container color */
cursor: pointer;
}
div.<?php echo $prefix; ?>btn img:hover {
border: 1px solid #000;
background-color: #CCC;
cursor: pointer;
}
p#<?php echo $prefix; ?>errors {
display: none;
margin-top: 5px;
padding: 2px;
height: 18px;
border: black solid 1px;
color: red;
background-color: #FFF;
text-align: center;
font-style: italic;
font-weight: bold;
}
/* commands */
.<?php echo $prefix; ?>cmd_msg {
color: black;
}
.<?php echo $prefix; ?>cmd_me {
font-style: italic;
color: black;
}
.<?php echo $prefix; ?>cmd_notice {
font-style: italic;
color: #888;
}
div#<?php echo $prefix; ?>color {
display:none;
}
Return to General Support (v1.x)
Users browsing this forum: No registered users and 29 guests