Create Left Image ico In H1 Div

HTML Code

<div id="prdleftcol">
  <h1>Φωτογραφίες</h1>  <h1>Gallery</h1>
</div>

CSS Code

#prdleftcol{
width:260px; float:left;
border-right:1px solid #E8EBEC;
color:#666666;
font-size:11px;
}
#prdleftcol  h1 {
background: transparent url(../images/icn_more.gif) 0px 2px no-repeat;
padding-left: 17px;
padding-bottom: 5px;
margin-top: 10px;
font-size:14px
}

Image Download

Switch Case

Example #1 switch structure

<?php
if ($i == 0) {
echo
"i equals 0";
} elseif (
$i == 1) {
echo
"i equals 1";
} elseif (
$i == 2) {
echo
"i equals 2";
}

switch (

$i) {
case
0:
echo
"i equals 0";
break;
case
1:
echo
"i equals 1";
break;
case
2:
echo
"i equals 2";
break;
}
?>

Example #2 switch structure allows usage of strings

<?php
switch ($i) {
case
"apple":
echo
"i is apple";
break;
case
"bar":
echo
"i is bar";
break;
case
"cake":
echo
"i is cake";
break;
}
?>

How do I enable SSH Remote Terminal inside Plesk?

First of all, when you mouse over to the ssh terminal icon, what message appear under the “Help & Support” section in the navigation pane?

If it shows “..is not installed” then you have to install by going “Server->Updater-><your plesk version>”, then check on “SSHTerm – SSH Terminal java applet” and then click on the “Install” button to install it.

If it shows “In order to use the terminal client, you should allow shell access for this domain” then you have to allow it by going “<your domain>->Setup”, then find “Shell access to server with FTP user’s credentials” and then change its value of “Forbidden” to other type of shells.