Skip navigation.

Raphael's Blog

A look into a programmer's life

Posts tagged with "InWeb CMS"

Just to let everybody know...

, , ,

A quick update about InWeb CMS and x64Template2...

Read more...

Some updates

, , , ...

After some time... I decided to post something about what I've been doing lately p:

Read more...

Drop PHP4 support or not?

, , , ...

The classical to do, or not to do question is here, and the InWeb CMS, x64Template and more projects are threatened because of the question.

Read more...

New Webinsta CMS (0.4.0a)

, ,

This version is just a small bug fix in the structure system. All the files will be updated ASAP, the only change is in the admin/structure/updatestructure.php file, the new file is this:

<?php if(!isset($_SESSION["login"]))
{
echo '<font color="red">You are not authorized to view this page </font>';
return;
}
if(!isset($new_block) || !is_array($new_block)){ echo 'Error in the update block !!! Exiting ...' ;
return;}

$fp=fopen($templates_dir."template.def.php","w");
$out=sprintf("<?php \r\n");
fwrite($fp,$out,strlen($out));
for($i=0;$i<count($new_block);$i++)
{
if($new_block[$i][0]!="~")
{
if($block[$i][8]!=$new_block[$i][8])
{
$out=sprintf("\$block[] = array('%s','%s','%s','%s','%s','%s','%s','%s','%s');\r\n",$new_block[$i][0],$new_block[$i][1],$new_block[$i][2],$new_block[$i][3],$new_block[$i][4],$new_block[$i][5],$new_block[$i][6],$new_block[$i][7],addslashes($new_block[$i][8]));
}else
{
$out=sprintf("\$block[] = array('%s','%s','%s','%s','%s','%s','%s','%s','%s');\r\n",$new_block[$i][0],$new_block[$i][1],$new_block[$i][2],$new_block[$i][3],$new_block[$i][4],$new_block[$i][5],$new_block[$i][6],$new_block[$i][7],$new_block[$i][8]));
}
fwrite($fp,$out,strlen($out));
}
}
$out=sprintf("?>");
fwrite($fp,$out,strlen($out));
fclose($fp);
?>


As soon as I rewrite some parts of the InWeb CMS using the x64Template engine, I'll drop the structure system, to open the doors to SQL.