aa
This commit is contained in:
@@ -340,21 +340,25 @@ function libriInPrevendita()
|
||||
|
||||
if ($prodotto['stock_quantity'] <= 0) {
|
||||
$colore = 'red';
|
||||
}else {
|
||||
} else {
|
||||
$colore = 'green';
|
||||
}
|
||||
|
||||
|
||||
// echo '[' . $ind . ']' . $sep . $mydatestr . $sep . $article->IdArticolo . $sep . $article->Titolo . $sep . $article->DescrizioneStatoProdotto . $sep . $article->DescrizioneFormato . ' [Quantita = ' . $article->QtaDisponibile . ']';
|
||||
echo '[' . $ind . ']' . $sep .
|
||||
'<a href="' . $article->permalink . '?id='.$article->IdArticolo.'" target="_blank">' . $article->IdArticolo . '</a>' . $sep .
|
||||
$article->Titolo . $sep .
|
||||
$myview = '[' . $ind . ']' . $sep .
|
||||
'<a href="' . $article->permalink . '?id=' . $article->IdArticolo . '" target="_blank">' . $article->IdArticolo . '</a>' . $sep .
|
||||
'<span style="color:' . $colore . '; font-weight: bold;">' . $article->Titolo . '</span>' . $sep .
|
||||
' Data Pubblicazione:' . date('d-m-Y', strtotime($article->DataPubblicazione)) . $sep .
|
||||
$article->DescrizioneStatoProdotto . ' (' . $article->DescrizioneFormato . ')' . $sep .
|
||||
'[Qta = <span style="">' . $article->QtaDisponibile . '</span>]' .$sep .
|
||||
'[In Stock = <span style="color:'.$colore.'; font-weight: bold;">' . $prodotto['stock_quantity'] . '</span>]' .$sep .
|
||||
'[Qta = <span style="">' . $article->QtaDisponibile . '</span>]' . $sep .
|
||||
'[In Stock = <span style="color:' . $colore . '; font-weight: bold;">' . $prodotto['stock_quantity'] . '</span>]' . $sep;
|
||||
|
||||
'<a href="' . $article->permalink . '/apimacro/public/aggiornapreorder/'.$article->IdArticolo.'/1" target="_blank">Imposta in PreORDINE!</a>' . $sep ;
|
||||
if ($prodotto['stock_quantity'] > 0) {
|
||||
$myview .= '<a href="' . $article->permalink . '/apimacro/public/aggiornapreorder/' . $article->IdArticolo . '/1" target="_blank">Imposta in PRE-ORDINE!</a>' . $sep;
|
||||
}
|
||||
|
||||
echo $myview;
|
||||
|
||||
if ($prodotto) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user