benelmokadem
Chevereto Noob
welcom dear friends i'm new user
i'm developer my name its benelmokadem from morocco
for install my plugin you can to create the database
open your database an add
step 2
open config.php
add
step3
open index.php
search in the page last code
replace it to
step4
search <!-- contenido -->
after
step 5
upload this file
www.atiznit.com/more_image.zip
congrulation the plugin its installed 😀
i'm developer my name its benelmokadem from morocco
for install my plugin you can to create the database
open your database an add
Code:
CREATE TABLE `filles` (
`id` int(50) NOT NULL auto_increment,
`filles` varchar(250) NOT NULL default '',
`thumbs` varchar(250) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=19 ;
step 2
open config.php
add
Code:
$host="";
$username="";
$password="";
$db="";
$tbl="filles";
mysql_connect("$host","$username","$password") or die("erreur de connextion avec la base de donneès");
mysql_select_db("$db") or die ("erreur de selection de la base de donneès");
step3
open index.php
search in the page last code
Code:
<? } ?>
Code:
<?
include("config.php");
$sql="SELECT * FROM filles WHERE filles='$URLimg' and thumbs='$URLthm'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count==1){
$sql8="delete LAST(id) FROM filles";
$result360= mysql_query($sql8);
}
else {
$sql8="INSERT INTO `$db`.`$tbl` (
`id` ,
`filles` ,
`thumbs`
)
VALUES (
NULL , '$URLimg', '$URLthm'
)
";
$result360=mysql_query($sql8);
}
?>
step4
search <!-- contenido -->
after
Code:
<div id="foot">
<?include("more_image.php");?>
</div>
step 5
upload this file
www.atiznit.com/more_image.zip
congrulation the plugin its installed 😀