Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[FR]ALLOCINE API pour TT
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2012-08-17 02:20:08
Quote:
[size=10px]if[/size][size=10px] [/size][size=10px]([/size][size=10px] $_POST[/size][size=10px][[/size][size=10px]'allocine'[/size][size=10px]][/size][size=10px] [/size][size=10px]!=[/size][size=10px] $row[/size][size=10px][[/size][size=10px]'allocine'[/size][size=10px]][/size][size=10px] [/size][size=10px])[/size]{

$updateset[] = "allocine= " . sqlesc($_POST["allocine"]);

$TTCache->Delete("allocine/$id");

[size=10px]}[/size]

premier post édité
2012-08-17 22:37:56
Ajout du langage...

Chercher



<b>Titre original</b><br /> <?php echo $_data->titre_original ?><br /><br />

<b>Date de sortie</b><br /> <?php echo $_data->date_sortie; ?><br /><br />

<b><?php echo T_("ANNEE_PROD"); ?></b><br /> <?php echo $_data->annee_prod; ?><br /><br />

<b>Genre</b><br /> <?php echo $_data->genre; ?><br /><br />

<b>Origine</b><br /> <?php echo $_data->pays; ?><br /><br />

<b>Acteurs</b><br /> <?php echo $_data->acteurs; ?><br /><br />

<b>Synopsis</b><br /> <?php echo $_data->synopsis; ?><br /><br />



Changé pour


				 <b><?php echo T_("ALLOCINE_ALIAS"); ?></b><br /> <?php echo $_data->titre_original ?><br /><br />

<b><?php echo T_("ALLOCINE_RELEASED"); ?></b><br /> <?php echo $_data->date_sortie; ?><br /><br />

<b><?php echo T_("ALLOCINE_PROD"); ?></b><br /> <?php echo $_data->annee_prod; ?><br /><br />

<b><?php echo T_("ALLOCINE_GENRE"); ?></b><br /> <?php echo $_data->genre; ?><br /><br />

<b><?php echo T_("ALLOCINE_COUNTRY"); ?></b><br /> <?php echo $_data->pays; ?><br /><br />

<b><?php echo T_("ALLOCINE_ACTORS"); ?></b><br /> <?php echo $_data->acteurs; ?><br /><br />

<b><?php echo T_("ALLOCINE_PLOT"); ?></b><br /> <?php echo $_data->synopsis; ?><br /><br />





Français

$LANG["ALLOCINE_PROD"] = "Année de production";

$LANG["ALLOCINE_ALIAS"] = "Titre Original";

$LANG["ALLOCINE_RELEASED"] = "Date de sortie";

$LANG["ALLOCINE_GENRE"] = "Genres";

$LANG["ALLOCINE_COUNTRY"] = "Pays";

$LANG["ALLOCINE_ACTORS"] = "Acteurs";

$LANG["ALLOCINE_PLOT"] = "Synopsis";

Anglais

$LANG["ALLOCINE_PROD"] = "Year of production";

$LANG["ALLOCINE_ALIAS"] = "Original title";

$LANG["ALLOCINE_RELEASED"] = "Release Date";

$LANG["ALLOCINE_GENRE"] = "Genres";

$LANG["ALLOCINE_COUNTRY"] = "Country";

$LANG["ALLOCINE_ACTORS"] = "Actors";

$LANG["ALLOCINE_PLOT"] = "Synopsis";
2012-08-18 17:47:18
Problème !

Ci utilisent allociné mes écrits et images de ma description personnelle disparait!?

??????????????????????????????????????????

Problem!

These use Screenrush my writings and images of my personal description disappears!?



Capture2.PNG
Capture2.PNG
Capture.PNG
Capture.PNG

Unknown User
2012-08-19 04:15:27
quel interet de mettre en anglais un mode fr...avec la traduction?

si tu veux utiliser allocine et la description il suffit de remplacer:



if(empty($row["allocine"]))

print("<tr><td align='left' colspan='2'><b>" .T_("DESCRIPTION"). ":</b><br />" . format_comment($row['descr']) . "</td></tr>n");


par





print("<tr><td align='left' colspan='2'><b>" .T_("DESCRIPTION"). ":</b><br />" . format_comment($row['descr']) . "</td></tr>n");

2012-08-19 11:40:52
Merci thib , çà fonctionne maintenant!

Merci encore! ;)
2012-09-02 05:11:48
upload error!?  :blink:

Database Error

Database Error. Please report this to an administrator.

Please you can watch my torrents-upload.php :)

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6038"]torrents-upload.php[/url]
torrents-upload.php
Download

Unknown User
2012-09-02 14:03:13
le message d'erreur est plus intéressant pour dépanner
2012-09-02 14:21:24
eeeeee ok!?  :blink: ...et ca  veux dire  quoi  ca?¿...
Unknown User
2012-09-02 14:24:52
dans panneau admin sqlerr log....
2012-09-02 14:46:12
Après avoir vérifier que  le  mode a bien été installer  comme dit  plus haut, je me suis attardé sur torrent-upload.

et  des que je vais sur l,exclusion sql  et  j'y ajouter allocine, et ".sqlesc($_POST['allocine'])."

 $ret = SQL_Query_exec("INSERT INTO torrents (filename, owner, name, descr, description, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, seedbox, anon, tube, last_action, imdb, allocine) VALUES (".sqlesc($fname).", '".$CURUSER['id']."', ".sqlesc($name).", ".sqlesc($descr).", ".sqlesc($smalldescr).", '".$inames[0]."', '".$inames[1]."', '".$catid."', '" . get_date_time() . "', '".$infohash."', '".$torrentsize."', '".$filecount."', ".sqlesc($fname).", '".$announce."', '".$external."', '".$nfo."', '".$langid."', '".$seedbox."', '$anon', ".sqlesc($tube).", '" . get_date_time().", ".sqlesc($_POST['allocine']).", ".sqlesc($_POST['imdb']).")");

je  voie  l'erreur..

Database Error

Database Error. Please report this to an administrator.

surment juste une connerie je comprend pas comme toujours!  ^_^

pour l'erreur...

Je les trouver sur ma langue,  DATABASE_ERROR ,,,,mais je les pas trouver sur fonction ou torent-detail et de même pour torrent-upload :huh:
2012-09-02 14:53:02
"thib, post: 85238":
dans panneau admin sqlerr log....



Database Error in torrents-upload.php on line 226: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2012-09-02 14:52:04, '', '')' at line 1. Query was: INSERT INTO torrents (filename, owner, name, descr, description, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, seedbox, anon, tube, last_action, imdb, allocine) VALUES ('La Fouine - Live Au Zenith [2010].torrent', '1', 'La Fouine - Live Au Zenith [2010]', 'wrebhrthrth', '', '180.jpg', '', '27', '2012-09-02 14:52:04', '14a8009edaabcb3594b84498b9303b7d14dfeb8e', '862319112', '3', 'La Fouine - Live Au Zenith [2010].torrent', 'http://crazyspirits.com/announce.php', 'no', '', '1', '', 'no', '', '2012-09-02 14:52:04, '', '').

Unknown User
2012-09-02 14:54:07
déjà allocine et imdb sont inversés
2012-09-02 15:01:49
ok ,  je  teste  ca
2012-09-02 15:03:50
après  avoir replacé allocine , ca  donne  encore  l'erreur

error sql

 Database Error in torrents-upload.php on line 226: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2012-09-02 15:03:00, '', '')' at line 1. Query was: INSERT INTO torrents (filename, owner, name, descr, description, image1, image2, category, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, seedbox, anon, tube, last_action, allocine, imdb) VALUES ('La Fouine - Live Au Zenith [2010].torrent', '1', 'La Fouine - Live Au Zenith [2010]', '4t534t34t', '', '180.jpg', '', '27', '2012-09-02 15:03:00', '14a8009edaabcb3594b84498b9303b7d14dfeb8e', '862319112', '3', 'La Fouine - Live Au Zenith [2010].torrent', 'http://crazyspirits.com/announce.php', 'no', '', '1', '', 'no', '', '2012-09-02 15:03:00, '', '').

2012-09-02 15:22:05
Bon mon erreur est trouver,  après avoir conter mes champs et les variables,  il me manquais une variable a .sqlesc($_POST['allocine'])

Merci thib pour ton aide! ;)
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728