Initial commit
This commit is contained in:
195
templates/standard/css/styles_pc.php
Normal file
195
templates/standard/css/styles_pc.php
Normal file
@ -0,0 +1,195 @@
|
||||
<?php
|
||||
require_once("../../../config/datenbankanbindung.php"); // fügt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
|
||||
$user_admin=$_COOKIE["user_admin"];
|
||||
|
||||
$db = dbconnect();
|
||||
$result = $db->query( "SELECT css FROM stylesheet WHERE user ='$user_admin'")
|
||||
or die ("Cannot execute query");
|
||||
while ($row = $result->fetch_array()){
|
||||
echo "$row[css]\n";
|
||||
}
|
||||
|
||||
|
||||
echo"
|
||||
|
||||
font.hd { /* Überschrifteinstellungen */
|
||||
font-family : Verdana,Arial,Helvetica,sans-serif;
|
||||
font-size : 17px;
|
||||
font-weight : bold;
|
||||
color : #002276;
|
||||
}
|
||||
|
||||
.sh { /* Subheader */
|
||||
font-weight : normal;
|
||||
font-size : 12px;
|
||||
color : rgb(101, 101, 101);
|
||||
font-family : Arial,Helvetica,sans-serif;
|
||||
}
|
||||
|
||||
ul.li { /* Aufzählungen */
|
||||
font-weight : normal;
|
||||
line-height : 150%;
|
||||
text-align : justify;
|
||||
list-style-type : square;
|
||||
}
|
||||
|
||||
ul { /* Aufzählungen */
|
||||
font-weight : normal;
|
||||
line-height : 150%;
|
||||
padding-left : 25px;
|
||||
text-align : justify;
|
||||
margin-left : 15px;
|
||||
padding-left : 15px;
|
||||
}
|
||||
|
||||
ol { /* Aufzählungen */
|
||||
font-weight : normal;
|
||||
line-height : 150%;
|
||||
padding-left : 25px;
|
||||
text-align : justify;
|
||||
}
|
||||
|
||||
/*
|
||||
table {
|
||||
font-family : verdana, arial;
|
||||
font-size : 9pt;
|
||||
color : #000000;
|
||||
line-height : 150%;
|
||||
text-align : justify
|
||||
}
|
||||
*/
|
||||
|
||||
.formdesc {
|
||||
padding-left : 10px;
|
||||
width : 33%;
|
||||
color : rgb(255, 255, 255);
|
||||
background-color : rgb(146, 155, 171);
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.login {
|
||||
background-color : #f1f2f6;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
font-family : verdana, arial;
|
||||
font-weight : normal;
|
||||
color : #000066;
|
||||
}
|
||||
|
||||
";
|
||||
|
||||
$query = $db->query( "SELECT 1 FROM stylesheet WHERE user ='$user_admin'" );
|
||||
$row = $query->fetch_array();
|
||||
|
||||
|
||||
if($row[0] != 1){
|
||||
echo"
|
||||
.td2 {
|
||||
font-family : verdana, arial;
|
||||
font-size : 9pt;
|
||||
color : #000000;
|
||||
line-height : 150%;
|
||||
text-align : justify
|
||||
}
|
||||
|
||||
.farbe {
|
||||
background-color : #6487DC;
|
||||
}
|
||||
|
||||
|
||||
";
|
||||
}
|
||||
|
||||
|
||||
|
||||
echo"
|
||||
.farbe_border {
|
||||
border : 1px;
|
||||
border-color : #6487DC;
|
||||
border-style : solid;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family : verdana, arial;
|
||||
font-size : 9pt;
|
||||
color : #000000;
|
||||
}
|
||||
|
||||
td {
|
||||
font-family : verdana, arial;
|
||||
font-size : 9pt;
|
||||
color : #000000;
|
||||
}
|
||||
|
||||
|
||||
|
||||
h1 {
|
||||
font-family : verdana, arial;
|
||||
font-size : 8pt;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
|
||||
.uberschrift {
|
||||
font-family : verdana, arial;
|
||||
font-size : 12pt;
|
||||
font-weight : bold;
|
||||
color : #006699;
|
||||
}
|
||||
|
||||
|
||||
.bemerkung {
|
||||
font-family : verdana, arial;
|
||||
font-size : 8pt;
|
||||
font-weight : bold;
|
||||
color : #FF0000;
|
||||
text-transform : uppercase; /* Großbuchstaben */
|
||||
}
|
||||
|
||||
|
||||
|
||||
.textfarbe { /* Botschaft, Ausführungen, Zusammenfassung, Kontext */
|
||||
color : #6487DC;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
|
||||
.contentfarbe { /* Hintergrundsfarbe in Tabellen bei Inhalten */
|
||||
background-color : #DEDEDE;
|
||||
}
|
||||
|
||||
|
||||
.titel { /* Kopfframe */
|
||||
font-weight : bold;
|
||||
text-decoration : none;
|
||||
font-family : verdana, arial;
|
||||
font-size : 16pt;
|
||||
color : #FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
.footer { /* Fußzeile (Copyright) */
|
||||
text-decoration : none;
|
||||
font-family : verdana, arial;
|
||||
font-size : 8pt;
|
||||
}
|
||||
|
||||
|
||||
.nav_link { /* Hyperlinks in der Navigation */
|
||||
text-decoration : none;
|
||||
font-family : verdana, arial;
|
||||
font-size : 8pt;
|
||||
height : 13pt;
|
||||
}
|
||||
|
||||
|
||||
.nav_head { /* Überschriften in der Navigation */
|
||||
font-weight : bold;
|
||||
text-decoration : none;
|
||||
font-family : verdana, arial;
|
||||
font-size : 9pt;
|
||||
}
|
||||
";
|
||||
?>
|
Reference in New Issue
Block a user