supprimé fichiers inutiles, précisions et usages bdd, chgt mise en forme
This commit is contained in:
parent
3cece247c8
commit
2871e7079f
5 changed files with 9 additions and 10 deletions
BIN
baseFilms.db
BIN
baseFilms.db
Binary file not shown.
|
@ -59,8 +59,7 @@ class film():
|
||||||
else:
|
else:
|
||||||
res += u'<br /><b>Noir et blanc</b>'
|
res += u'<br /><b>Noir et blanc</b>'
|
||||||
res += u'<br /><b>Pays :</b>' + self.pays
|
res += u'<br /><b>Pays :</b>' + self.pays
|
||||||
res += u'<br /><b>Format de la copie :</b>' + self.formatCopie
|
res += u'<br /><b>' + self.formatCopie + ' . ' + self.langST +'</b>'
|
||||||
res += u'<br /><b>' + self.langST +'</b>'
|
|
||||||
res += u'<br /><b>Année :</b>' + str(self.annee)
|
res += u'<br /><b>Année :</b>' + str(self.annee)
|
||||||
res += u'<br /><b>Avec :</b>' + strListe(self.acteurs)
|
res += u'<br /><b>Avec :</b>' + strListe(self.acteurs)
|
||||||
res += u'<br /><div class="entry-text-info"><strong>Synopsis</strong> : ' + self.synopsis + '</div>'
|
res += u'<br /><div class="entry-text-info"><strong>Synopsis</strong> : ' + self.synopsis + '</div>'
|
||||||
|
@ -103,7 +102,8 @@ class film():
|
||||||
if len(self.acteurs) > 2 :
|
if len(self.acteurs) > 2 :
|
||||||
res += "\centerline{" + self.acteurs[2] + "}\n"
|
res += "\centerline{" + self.acteurs[2] + "}\n"
|
||||||
res += "\medskip \n"
|
res += "\medskip \n"
|
||||||
res += "\centerline{" + self.langST + ' . ' + self.formatCopie + "}"
|
res += "\centerline{" + self.langST + ' . ' + self.formatCopie + "}\n"
|
||||||
|
res += "\medskip \n"
|
||||||
res += "\centerline{\\textit{" + self.duree + "}}\n \n"
|
res += "\centerline{\\textit{" + self.duree + "}}\n \n"
|
||||||
res += "\medskip\n"
|
res += "\medskip\n"
|
||||||
res += "\medskip \n \centerline{4~€~/~3~€ COF} \n \medskip \n \n "
|
res += "\medskip \n \centerline{4~€~/~3~€ COF} \n \medskip \n \n "
|
||||||
|
@ -111,7 +111,7 @@ class film():
|
||||||
res += "\centerline{\includegraphics[width=5cm]{cine}}\n \n"
|
res += "\centerline{\includegraphics[width=5cm]{cine}}\n \n"
|
||||||
res += "\medskip\n"
|
res += "\medskip\n"
|
||||||
res += self.synopsis
|
res += self.synopsis
|
||||||
return res
|
print(res)
|
||||||
|
|
||||||
def mail(self):
|
def mail(self):
|
||||||
res = '<html> \n \t <head> \n \n <meta http-equiv="content-type" content="text/html; charset=utf-8"> \n \t \t'
|
res = '<html> \n \t <head> \n \n <meta http-equiv="content-type" content="text/html; charset=utf-8"> \n \t \t'
|
||||||
|
|
|
@ -127,8 +127,7 @@ class filmSQ():
|
||||||
else:
|
else:
|
||||||
res += u'<br /><b>Noir et blanc</b>'
|
res += u'<br /><b>Noir et blanc</b>'
|
||||||
res += u'<br /><b>Pays :</b>' + self.pays
|
res += u'<br /><b>Pays :</b>' + self.pays
|
||||||
res += u'<br /><b>Format de la copie :</b>' + self.formatCopie
|
res += u'<br /><b>' + self.formatCopie + ' . ' + self.langST +'</b>'
|
||||||
res += u'<br /><b>' + self.langST +'</b>'
|
|
||||||
res += u'<br /><b>Année :</b>' + str(self.annee)
|
res += u'<br /><b>Année :</b>' + str(self.annee)
|
||||||
res += u'<br /><b>Avec :</b>' + strListe(self.acteurs)
|
res += u'<br /><b>Avec :</b>' + strListe(self.acteurs)
|
||||||
res += u'<br /><div class="entry-text-info"><strong>Synopsis</strong> : ' + self.synopsis + '</div>'
|
res += u'<br /><div class="entry-text-info"><strong>Synopsis</strong> : ' + self.synopsis + '</div>'
|
||||||
|
@ -171,11 +170,11 @@ class filmSQ():
|
||||||
if len(self.acteurs) > 2 :
|
if len(self.acteurs) > 2 :
|
||||||
res += "\centerline{" + self.acteurs[2] + "}\n"
|
res += "\centerline{" + self.acteurs[2] + "}\n"
|
||||||
res += "\medskip \n"
|
res += "\medskip \n"
|
||||||
res += "\centerline{" + self.langST + ' . ' + self.formatCopie + "}"
|
res += "\centerline{" + self.langST + ' . ' + self.formatCopie + "}\n"
|
||||||
res += "\centerline{\\textit{" + str(self.duree) + "}}\n \n"
|
res += "\medskip \n"
|
||||||
|
res += "\centerline{\\textit{" + self.duree + "}}\n \n"
|
||||||
res += "\medskip\n"
|
res += "\medskip\n"
|
||||||
res += "\medskip \n \centerline{4~€~/~3~€ COF} \n \medskip \n \n "
|
res += "\medskip \n \centerline{4~€~/~3~€ COF} \n \medskip \n \n "
|
||||||
|
|
||||||
res += "\centerline{\includegraphics[width=5cm]{cine}}\n \n"
|
res += "\centerline{\includegraphics[width=5cm]{cine}}\n \n"
|
||||||
res += "\medskip\n"
|
res += "\medskip\n"
|
||||||
res += self.synopsis
|
res += self.synopsis
|
||||||
|
|
BIN
filmsCode2
BIN
filmsCode2
Binary file not shown.
BIN
filmsShelves2
BIN
filmsShelves2
Binary file not shown.
Loading…
Reference in a new issue