Το Δέντρο της Ζωής

Facebook
Twitter
Pinterest

{source}
<!– You can place html anywhere within the source tags –>

<script language=”javascript” type=”text/javascript”>
    // You can place JavaScript like this
    
</script>
<?php
$db = “dicha20_astrolog”; //set this to the name of your database

$host = “localhost”; //set this to the name of your host

$user = “dicha20_astrolog”; //set this to your db user name

$pass = “6658709123”; //set this to your db password
$table = “pcards”; //set this to the name of the table that holds the card info.
$imagedirectory = “images/fortuneteller/”; //main image directory
$largeimage = “large/”; // large image directory
//put your Site copyright here. HTML formatting is allowed
$copyright = ” “;
$copyfontsize = “1”; //set your textsize for your copyright

$tablewidth = “”;
$tableBGcolor = “#FFFFFF”;

$pagebackground = “#FFFFFF”; //page background color
$pagetext = “#000000”; //page text color
$imageborder = “0”; // card border width. this must be set to a number larger than 0 for the images to have a border
$imagebordercolor = “#00FF00”; //set specific border color. will not work in old browsers
$linkcolor = “#00FF00”;//set link color
$vlinkcolor = “#0000FF”; //set visited link color
$headercolor = “#FF0000”; //use this to set the color of headers
$imageborder = “0”; // card border width. this must be set to a number larger than 0 for the images to have a border
//$imagebordercolor = “#FF0000”; //set specific border color. will not work in old browsers
$imagewidth = “95”;
$imageheight = “120”;
$font = “Verdana”; //use this to set the page’s font
$fontsize = “2”; //use this to set the page’s font size
$titlesize = “4”; //size of header

//the variables below define the page’s wording. use these to edit headers and header text
$pagetitle = “Το Δέντρο της Ζωής”; // page title
$title = “Το Δέντρο της Ζωής”; // header title
$readlink = “Κάντε Άλλο Διάβασμα”;
$disclaimlink = “Disclaimer”;
$interplink = “Βασικά Ερμηνείας”;
$printlink = “Version to Print”;
$titleblurb = “Κατεβείτε Κάτω για την Ερμηνεία”;//blurb under page header
$ideals = “Τα Υψηλά Ιδανικά Μας”;
$creative = “Η Δημιουργική Μας Δύναμη”;
$wisdom = “Η Σοφία Μας”;
$virtues = “Οι Αρετές Μας”;
$being = “Η Δύναμη της Ύπαρξης Μας”;
$health = “Η Υγεία, Η Ομορφιά κι ο Αλτρουισμός Μας”;
$love = “Οι Αγάπες μας, τα Πάθη μας, ο Καλλιτεχνικός μας Εαυτός και τα Ένστικτά μας”;
$procreate = “Εμείς ως Δημιουργός, Σχεδιαστής και Επιστήμονας”;
$imagine =”Η Φαντασία μας κι ο Διαισθητικός Εαυτός μας”;
$physical = “Ο Φυσικός Εαυτός μας”;

$con= @mysql_connect(“$host”,”$user”,”$pass”);
mysql_query(“SET NAMES ‘utf-8′”, $con);

mysql_query(“SET CHARACTER SET ‘utf-8′”, $con);

if(!$con)
{
 $connect_error = “Failed at mysql_connect. “;
 echo”error at db connect”;
 exit();
}
srand((double)microtime()*1000000);
$maxnumber = 9;
 $count= 0;
 $count2 = 0;
 $index = 0;
 $cardcount = 0;
 $cardindex = 0;
 $type[0] = 0;
 $cards[0] = 0;
 $thecards[0][0] = 0;
 $typeFlag = 0;

 while($count <= $maxnumber)
{
  $number = rand(0,52);
  for($index; $index <= $maxnumber; $index++)
  {
    if($cards[$index] == $number)
    {
      $number = rand(0,52);
      $index = -1;
    }
  }

$cards[$count] = $number;
$query = “SELECT * FROM $table WHERE (card = ‘$cards[$count]’)”;
mysql_query(“SET NAMES ‘utf8′”);

  mysql_query(“SET CHARACTER SET ‘utf8′”);
$result = @mysql_db_query($db, $query);
$r = mysql_fetch_array($result);

 if(!$result)
{
 $query_error = “Failed at the mysql_db_query.”;
 echo”$query_error”;
 exit();
}

 else

 {

 $indice = 0;
 $thecards[$count][$indice] = $r[“title”];
 $test2 = $r[“card”];
 //echo”$test2 <——-no array value test <—>cards count –> $cards[$count]<BR>”;
 $test = $thecards[$count][$indice];
 //echo”$test <——-test <BR>”;
 $indice++;
 $thecards[$count][$indice] = $r[“description”];
 $indice++;
 $thecards[$count][$indice] = $r[“thumb”];
 $indice++;
 $thecards[$count][$indice] = $r[“limage”];
 $typeNum[$count] = $r[“type”];

 }

 $count++;
 $index = 0;

}
 for($count2 = 0; $count2 <= $maxnumber; $count2++)
 {
   $id = $typeNum[$count2];
   $theType[$id] = $theType[$id] + 1;

   if($theType[$id] == 2 || $theType[$id] == 3 || $theType[$id] == 4)
   {
     $typeFlag = 1;
   }
 }
 $count = 0;
 $index = 0;
?>

<p align=”center”>
<font face=”<?echo”$font”;?>” size=”<?php echo”$fontsize”;?>”><A HREF=’παραδοσιακή-χαρτομαντεία.html’>Κάντε άλλο Διάβασμα</a></font><BR>&nbsp;<b><font color=”<?echo”$headercolor”;?>” face=”<?php echo”$font”;?>” size=”<?echo”$titlesize”;?>”>
 <?php echo”$pagetitle”;?></font><br>
 </b></p>
 <p align=center>
 <font color=<?echo”$headercolor”;?> face=”<?php echo”$font”;?>” size=”<?php echo”$fontsize”;?>”><?php echo”$titleblurb”;?><br>
 &nbsp;</font>
 </p>
 <table>
 <tr>
 <td align=”center”><br>
 <? $thumb=$thecards[2][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ></td>
 <td align=”center” valign=”top”>
 <? $thumb=$thecards[0][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>
 </td>
 <td align=”center”><br>
 <? $thumb=$thecards[1][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>&nbsp;
 </td>
 </tr>
 <tr>
 <td align=”center” valign=”top”>&nbsp;<br>
 <? $thumb=$thecards[4][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>
</td>
<td align=”center”><br>
<br>
<? $thumb=$thecards[5][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>
</td>
<td align=”center” valign=”top”><BR>&nbsp;
<? $thumb=$thecards[3][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>&nbsp;
</td>
</tr>
<tr>
<td align=”center” valign=”top”><BR>&nbsp;
<? $thumb=$thecards[7][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>
</td>
<td align=”center”><br><BR>&nbsp;
<? $thumb=$thecards[8][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>
</td>
<td align=”center” valign=”top”><BR>&nbsp;
<? $thumb=$thecards[6][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>
</td>
</tr>
<tr>
<td align=”center” colspan=”3″><BR>&nbsp;
<? $thumb=$thecards[9][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” ><br>
</td>
</tr>
</table>

<div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>

<p align=”justify”><font face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>” color=”<?echo”$headercolor”;?>”><b><?echo”$ideals”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[0][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>”  align=”left” style=”padding:10px;” >
<font face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $idealcard = $thecards[0][0]; echo”$idealcard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $idealmeaning = $thecards[0][1]; echo”$idealmeaning”;?></font></p>
 </div>
 
 <div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
 
<p align=”justify”> <font face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>” color=”<?echo”$headercolor”;?>”><b><?echo”$creative”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[1][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” align=”left” style=”padding:10px;”>
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $forcecard = $thecards[1][0]; echo”$forcecard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $forcemeaning = $thecards[1][1]; echo”$forcemeaning”;?></font></p>

</div><div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
<p align=”justify”><font face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>” color=”<?echo”$headercolor”;?>”><b><?echo”$wisdom”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[2][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” align=”left” style=”padding:10px;”>
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $wisecard = $thecards[2][0]; echo”$wisecard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $wisemeaning = $thecards[2][1]; echo”$wisemeaning”;?></font></p>

 </div>
 
 <div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
 
<p align=”justify”><font color=”<?echo”$headercolor”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><?echo”$virtues”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[3][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>” align=”left” style=”padding:10px;”>
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $virtuecard = $thecards[3][0]; echo”$virtuecard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $virtuemeaning = $thecards[3][1]; echo”$virtuemeaning”;?></font></p>

</div>
 
 <div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
 
<p align=”justify”><font color=”<?echo”$headercolor”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><?echo”$being”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[4][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>”  align=”left” style=”padding:10px;” >
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $forcecard = $thecards[4][0]; echo”$forcecard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $forcemeaning = $thecards[4][1]; echo”$forcemeaning”;?></font></p>

</div>
 
 <div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
 
<p align=”justify”><font color=”<?echo”$headercolor”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><?echo”$health”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[5][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>”  align=”left” style=”padding:10px;”>
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $beautycard = $thecards[5][0]; echo”$beautycard”;?></b></font>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $beautymeaning = $thecards[5][1]; echo”$beautymeaning”;?></font></p>

</div>
 
 <div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
 
<p align=”justify”><font color=”<?echo”$headercolor”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><?echo”$love”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[6][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>”  align=”left” style=”padding:10px;” >
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $idealcard = $thecards[6][0]; echo”$idealcard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $idealmeaning = $thecards[6][1]; echo”$idealmeaning”;?></font></p>

</div>
 
 <div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
 
<p align=”justify”><font color=”<?echo”$headercolor”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><?echo”$procreate”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[7][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>”  align=”left” style=”padding:10px;” >
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $procard = $thecards[7][0]; echo”$procard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $promeaning = $thecards[7][1]; echo”$promeaning”;?></font></p>

</div>
 
 <div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
 
<p align=”justify”><font color=”<?echo”$headercolor”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><?echo”$imagine”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[8][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>”  align=”left” style=”padding:10px;”>
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $imaginecard = $thecards[8][0]; echo”$imaginecard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $imaginemeaning = $thecards[8][1]; echo”$imaginemeaning”;?></font></p>

</div>
 
 <div align=”left” style=”width:100%;border-bottom:2px #666666;height:210px;line-height:30px;”>
 
<p align=”justify”><font color=”<?echo”$headercolor”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><?echo”$physical”;?></b></font></p>
<p align=”justify”><? $thumb=$thecards[9][2];?><img border=”<?echo”$imageborder”;?>” src=”<?echo”$imagedirectory$thumb”;?>” width=”<?echo”$imagewidth”;?>” height=”<?echo”$imageheight”;?>”  align=”left” style=”padding:10px;” >
<font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><b><? $physicalcard = $thecards[9][0]; echo”$physicalcard”;?></b>
<br><font color=”<?echo”$pagetext”;?>” face=”<?echo”$font”;?>” size=”<?echo”$fontsize”;?>”><? $physicalmeaning = $thecards[9][1]; echo”$physicalmeaning”;?></font></p>
</div>

{/source}

energy stones
Facebook
Twitter
Pinterest

Newsletter

Εγγραφείτε στο newsletter μας και μείνετε ενημερωμένοι με τα άρθρα μας
Please wait...

Ευχαριστούμε για την εγγραφή!

Scroll to Top