Skip to content

Commit

Permalink
Merge pull request #1 from npds/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
jipexu authored May 6, 2021
2 parents 1ef9661 + 329f116 commit 7c4565c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions npds_annonces/install.conf.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/************************************************************************/
/* DUNE by NPDS */
/* */
/* NPDS Copyright (c) 2002-2019 by Philippe Brunier */
/* NPDS Copyright (c) 2002-2021 by Philippe Brunier */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
Expand Down Expand Up @@ -46,22 +46,22 @@
id bigint(20) NOT NULL auto_increment,
id_user bigint(20) DEFAULT NULL,
id_cat mediumint(11) DEFAULT NULL,
tel varchar(20) NOT NULL DEFAULT '',
tel_2 varchar(20) NOT NULL DEFAULT '',
code varchar(5) NOT NULL DEFAULT '',
ville varchar(40) NOT NULL DEFAULT '',
date varchar(20) NOT NULL DEFAULT '',
text mediumtext NOT NULL,
tel varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
tel_2 varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
code varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
ville varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
date varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
text mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
en_ligne tinyint(1) NOT NULL DEFAULT '0',
prix decimal(10,2) NOT NULL DEFAULT '0.00',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;",
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;",
"CREATE TABLE ".$NPDS_Prefix."g_categories (
id_cat mediumint(11) NOT NULL auto_increment,
id_cat2 mediumint(11) NOT NULL DEFAULT '0',
categorie varchar(30) NOT NULL DEFAULT '',
categorie varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (id_cat)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;");
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;");

#autodoc $blocs = array(array(""), array(""), array(""), array(""), array(""), array(""), array(""), array(""), array(""))
#autodoc titre contenu membre groupe index rétention actif aide description
Expand Down
2 changes: 1 addition & 1 deletion npds_annonces/photosize.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

//fonction de redimensionnement de l'image
$img_src = "modules/$ModPath/images/".$quidam['uname']."_original.jpg";
$img_dest = "modules/$ModPath/images/".$quidam['uname']."_".mktime().".jpg";
$img_dest = "modules/$ModPath/images/".$quidam['uname']."_".time().".jpg";
settype($choix,'string');
if ($choix =="Mini") {
$dst_w = 400;
Expand Down

0 comments on commit 7c4565c

Please sign in to comment.