/web/htdocs/www.euroroma.net/home/articolo.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<? include("toparticolo.php"); ?>

     
     
     
     
      <!-- start site main content -->
      <section id="mainContent" style='margin-top: 70px;'>
      
      
      
      <? include("scrollnews.php"); ?>

  
          <!-- start main content bottom -->
          <div class="content_bottom">
            <div class="col-lg-8 col-md-8">
            <!-- start content bottom left -->
              <div class="content_bottom_left">
                <div class="single_page_area">
                  <ol class="breadcrumb">
                    <li><a href="http://www.euroroma.net">HOME</a></li>
                    <li><a href="http://www.euroroma.net/<? echo $_GET['cat'].".html"?>"><? echo $rubrica?></a></li>
                    <li class="active"><? echo $titolo?></li>
                  </ol>
                  <h2 class="post_titile"><? echo $titolo?></h2>
                  <h3 class="post_titile"><I><? echo $sottotitolo?></I></h3>
                  <div class="single_page_content">
                    <div class="post_commentbox">
                      <a href="#"><i class="fa fa-user"></i>di <? echo $autore?></a>
                      <span><i class="fa fa-calendar"></i><? echo $data{8}.$data{9}."/".$data{5}.$data{6}."/".$data{0}.$data{1}.$data{2}.$data{3}; ?></span>
                      <a href="#"><i class="fa fa-tags"></i><? echo $rubrica?></a>
                    </div>
                    <img class="img-center" src="<? echo $url?>" alt="img">
                    
                    <script async src='//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js'></script><!-- Responsive orizzontale 1 --><ins class='adsbygoogle'style='display:block'data-ad-client='ca-pub-5549117216645456'data-ad-slot='5436023121'data-ad-format='auto'></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
                    
                    <p><? echo $testo?></p>
                    

                    
                    <!-- Galleria fotografica -->
                    <div class="single_page_contentfoto">
                    <?
                    
if($ID_photogallery !=0){
            
                        include(
"admin/setConn.php");
                       
                        if (
$db == FALSE)
                            die (
"Errore nella connessione.");
                        
$sql "SELECT * FROM photo WHERE ID_photogallery=".$ID_photogallery." ORDER BY Display_Order";
                
                
                        
$result mysql_db_query("Sql603025_1"$sql$db);
                
                        echo 
"<div id='rg-gallery' class='rg-gallery'>";
                        echo 
"    <div class='rg-thumbs'>";
                        echo 
"        <!-- Elastislide Carousel Thumbnail Viewer -->";
                        echo 
"        <div class='es-carousel-wrapper'>";
                        echo 
"            <div class='es-nav'>";
                        echo 
"                <span class='es-nav-prev'>Previous</span>";
                        echo 
"                <span class='es-nav-next'>Next</span>";
                        echo 
"            </div>";
                        echo 
"            <div class='es-carousel'>";
                        echo 
"                <ul>";
                    
                        while(
$results mysql_fetch_array($result)){
                            
$ID $results["ID"];
                            
$titolo $special->specialChars($results["titolo"]);
                            
$miniatura $results["miniatura"];

                    
                            echo 
"                    <li><p class='cropfoto'><a href='#'><img src='http://www.euroroma.net/public/photo/".$miniatura."' data-large='http://www.euroroma.net/public/photo/".$miniatura."' alt='' data-description=\"".$titolo."\" /></a></p></li>";
                        }
                
                        echo 
"                </ul>";
                        echo 
"            </div>";
                        echo 
"        </div>";
                        echo 
"        <!-- End Elastislide Carousel Thumbnail Viewer -->";
                        echo 
"    </div><!-- rg-thumbs -->";
                        echo 
"</div><!-- rg-gallery -->";
                        
mysql_close($db);

                    }
                    
?>
                    </div>
                    <!-- Fine Galleria fotografica -->

            
            
                    <?
                    
if($video){
                        echo 
"<div class='row'>";
                        echo 
"<div class='video-responsive'>".$video."</div>";
                        echo 
"</div>";
                    }
                    
?>
                    <?
                    
if($tags){
                        
$tags explode(","$tags);
                        
                        echo 
"<br clear='all'/>";
                        echo 
"<p><B>Tags:</B> "
                        for (
$i 0$n count($tags) ; $i $n $i++)
                        {
                            
$tags[$i] = str_replace("'""&#39;"$tags[$i]);
                            echo 
"<a href='http://www.euroroma.net/cerca.php?ricerca=ok&cerca=".trim($tags[$i])."'><button class='btn btn-info' style='margin: 5px;'>".$tags[$i]."</button></A>";
                        }
                        echo 
"</p><br>";
                    }
                    
?>
                    
                    
                    <br><a href='http://www.emporioantonelli.it' target='_blank'><img src='http://www.euroroma.net/images/bannerEmporioAntonelli.jpg' width='100%' class='img-responsive'></a>
                    
                    <br>
                  </div>                 
                </div>

              </div><!--End content_bottom_left-->     
              
                
              
              <!-- start share post -->
              <div class="share_post">
              <h1>Ti è piaciuto l’articolo?<br>Condividi <i class="fa fa-thumbs-o-up"></i></h1>
                <?
                
/*
                echo "<div style='float:left;'></div>";
                echo "<div style='float:left;'>";
                echo "<div><a href='https://twitter.com/share' class='twitter-share-button' data-url='http://www.euroroma.net/articolo.php?ID=".$_GET['ID']."&cat=".$_GET['cat']."' >Tweet </a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></div>";
                echo "</div>";
                echo "<div style='float:left; padding: 0px 5px 0px 5px;'>";
                //FB
                echo "<div class='fb-like'  data-href='http://www.euroroma.net/articolo.php?ID=".$_GET['ID']."&cat=".$_GET['cat']."'  data-action='like' data-send='true' data-layout='button' data-share='false'></div></div>";
                echo "<div style='float:left;'>";
                echo "<div class='fb-share-button'  data-href='http://www.euroroma.net/articolo.php?ID=".$_GET['ID']."&cat=".$_GET['cat']."' data-layout='button'></div></div>";
                
                echo "<div style='float:left; margin-left: 5px;'>";
                echo "<a class='tumblr-share-button' href='https://www.tumblr.com/share'><iframe class='btn' frameborder='0' border='0' scrolling='no' allowtransparency='true' height='20' width='200' src='https://platform.tumblr.com/v2/follow_button.html?type=follow-blog&amp;tumblelog=euroroma&amp;color=blue' data-caption='<? $titolo; ?>'></iframe></a>";
                echo "</div>";
                echo "<br clear='all'/><br>";
                */
                
?>

                <!-- Go to www.addthis.com/dashboard to customize your tools -->
                <div class="addthis_sharing_toolbox"></div>
                <br>
                    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!-- Responsive orizzontale 1 -->
                    <ins class="adsbygoogle"
                         style="display:block"
                         data-ad-client="ca-pub-5549117216645456"
                         data-ad-slot="5436023121"
                         data-ad-format="auto"></ins>
                    <script>
                    (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                    <br>
                    
              </div><!-- End share post -->
              
              <!-- start similar post-->
              <div class="similar_post">
                <h2>Ti potrebbero interessare</h2>
                
                <div class="archive_style_1">
                    <?
                        
//Correlati
    
                        
include("admin/setConn.php");
                
                        
$special = new class_utility();
                        if(
$_GET['cat']=="POLITICA"){$_SESSION['cat']="POLITICA";}
                        if(
$_GET['cat']=="ESTERI"){$_SESSION['cat']="ESTERI";}
                        if(
$_GET['cat']=="ECONOMIAEWELFARE" || $_GET['cat']=="ECONOMIA E WELFARE"){$_SESSION['cat']="ECONOMIA E WELFARE";}
                        if(
$_GET['cat']=="CULTURAESOCIETA" || $_GET['cat']=="CULTURA E SOCIETA"){$_SESSION['cat']="CULTURA E SOCIET&Agrave;";}
                        if(
$_GET['cat']=="SCIENZAETECNOLOGIA" || $_GET['cat']=="SCIENZA E TECNOLOGIA") {$_SESSION['cat']="SCIENZA E TECNOLOGIA";}
                        if(
$_GET['cat']=="NONSOLOOCCIDENTE" || $_GET['cat']=="NON SOLO OCCIDENTE"){$_SESSION['cat']="NON SOLO OCCIDENTE";}
                        if(
$_GET['cat']=="AMBIENTE"){$_SESSION['cat']="AMBIENTE";}
                        if(
$_GET['cat']=="ROMA"){$_SESSION['cat']="ROMA";}
                        if(
$_GET['cat']=="ARTEESPETTACOLO" || $_GET['cat']=="ARTE E SPETTACOLO") {$_SESSION['cat']="ARTE E SPETTACOLO";}
                        if(
$_GET['cat']=="LAVOSTRAVOCE" || $_GET['cat']=="LA VOSTRA VOCE") {$_SESSION['cat']="LA VOSTRA VOCE";}
                        if(
$_GET['cat']=="DEGUSTIBUS" || $_GET['cat']=="DE GUSTIBUS") {$_SESSION['cat']="DE GUSTIBUS";}
                        if(
$_GET['cat']=="SPORT"){$_SESSION['cat']="SPORT";}
                        
$namedb "Sql603025_1";
                        
$stato=0;
                        
//PAGINE
                        
$result mysql_db_query($namedb$sql$db);
                        
//Correlati
                        
$testocount "SELECT COUNT(ID) FROM risultati WHERE Rubrica='".$rubrica."' AND ID <> ".$_GET['ID']." AND Stato=0 AND (";
                        for (
$i 0$n count($tags) ; $i $n $i++)
                        {
                            
$testocount $testocount." Tags LIKE '%".str_replace("'""&#212;"trim($tags[$i]))."%' ";
                            if(
$i+$n){
                                
$testocount $testocount." OR ";
                            }
                        }
                        
$testocount $testocount.")";
                        
$count mysql_query($testocount);
                        
$res_count mysql_fetch_row($count);
                        
$tot_records $res_count[0];
                        
$per_page 2;
                        
$tot_pages ceil($tot_records $per_page);
                        
$current_page = (!$_GET['page']) ? : (int)$_GET['page'];
                        
$primo = ($current_page 1) * $per_page;
                        
//FINE PAGINE
                        
if ($db == FALSE)
                            die (
"Errore nella connessione.");
                        
//Correlati    
                        
$sql "SELECT * FROM risultati WHERE Rubrica='".$rubrica."' AND Stato=0 AND ID <> ".$_GET['ID']." AND (";
                        for (
$i 0$n count($tags) ; $i $n $i++)
                        {
                            
$sql $sql." Tags LIKE '%".str_replace("'""&#212;"trim($tags[$i]))."%' ";
                            if(
$i+$n){
                                
$sql $sql." OR ";
                            }
                        }
                        
$sql $sql.") ORDER BY Data_e_ora DESC, ID DESC LIMIT $primo$per_page";
                        
$result mysql_db_query($namedb$sql$db);
                        
$i=0;
                        
                
                        
$p =0;
                        
$rig =0;
                        while(
$results mysql_fetch_array($result)){
                            
$ID $results["ID"];
                            
$rubrica $special->specialChars($results["Rubrica"]);
                            
$autore $special->specialChars($results["Autore"]);
                            
$titolo $special->specialChars($results["Titolo"]);
                            
$sottotitolo $special->specialChars($results["Sottotitolo"]);
                            
$testo $special->specialChars($results["Testo"]);
                            
$url $special->specialChars($results["URLimg"]);
                            
$data $special->specialChars($results["Data_e_ora"]);        
                            
$video $results["Video"];
                    
                            
$stringa permalink($titolo);
                            
                            
                            echo 
"<div class='business_category_left wow fadeInDown'>";
                            echo 
"<ul class='fashion_catgnav'>";
                            echo 
" <li>";
                            echo 
"    <div class='catgimg2_container'>";
                            echo 
"      <a href='http://www.euroroma.net/".$ID."/".$_GET['cat']."/".$stringa.".html'><img alt='Le notizie online di Euroroma' src='".$url."' class='img-responsive'></a>";
                                
                            echo 
"    </div>";
                            echo 
"    <h2 class='catg_titile'><a href='http://www.euroroma.net/".$ID."/".$_GET['cat']."/".$stringa.".html'>".$titolo."</a></h2>";
                            echo 
" </li>";
                      
                            echo 
"</ul>";
                            echo 
" </div>";
                            
$rig++;
                  
                  
                    
                            
/*
                            echo "<li>";
                            echo "  <div class='media wow animated' style='visibility: visible; animation-name:;'>";
                            echo "    <a class='media-left' href='http://www.euroroma.net/".$ID."/".$_GET['cat']."/".$stringa.".html'>";
                            echo "      <img src='".$url."' alt='Le notizie online di Euroroma' width='50' height='100'>";
                            echo "    </a>";
                            echo "    <div class='media-body'>";
                            echo "      <h4 class='media-heading' style='font-size: 16px;'><a href='http://www.euroroma.net/".$ID."/".$_GET['cat']."/".$stringa.".html'>".$titolo."</a></h4> ";
                            echo "    </div>";
                            echo "  </div>";
                            echo "</li>";
                            */
                        
}
                        
mysql_close($db);
                    
?>
                </div>
                    
              </div>
              <!-- End similar post-->
              
                          
            </div>
            
            <? include("menudx.php");?>
        </div><!-- end main content bottom -->  
           
      </section><!-- End site main content -->
    </div> <!-- /.container -->
    
    <? include("footarticolo.php");?>