/web/htdocs/www.micro-la.com/home/laser-ready.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
<?php
session_start
();
include (
'admin/config/config.php');

if (isset (
$_GET['lang'])){
    
    
$_SESSION['lang']= $_GET['lang'];
    
    
$lang =$_SESSION['lang'];

}elseif(isset (
$_SESSION['lang'])) {
    
    
$lang $_SESSION['lang'];
    
}else {
    
    
$lang 'ita';
    
    
$_SESSION['lang'] = $lang;
    
}
?>
<!doctype html>
<html lang="<?php if ($lang === 'ita'){echo "it";} elseif($lang === 'eng'){echo "en";}?>">
<head>
    <meta charset="utf-8">
    <?php
    
    $query 
"SELECT * FROM sezioni WHERE nome = 'azienda'";
    
$res mysql_query($query);
        while(
$dati mysql_fetch_array($res)){
        
$titolo $dati['titolo'];
        
$titolo_eng $dati['titolo_eng'];
        
$descr $dati['descr'];
        
$descr_eng $dati['descr_eng'];
        
$key $dati['keywords'];
        
$key_eng $dati['keywords_eng'];
        }
    
?>
    <title><?php if ($lang === 'ita'){echo $titolo;} elseif($lang === 'eng'){echo $titolo_eng;}?></title>
    <meta name="description" content="<?php if ($lang === 'ita'){echo $descr;} elseif($lang === 'eng'){echo $descr_eng;} ?>" />
    <meta name="keywords" content="<?php if ($lang === 'ita'){echo $key;} elseif($lang === 'eng'){echo $key_eng;} ?>" />
    <meta name="author" content="Design Gang" />
    <meta name="robots" content="index,follow" />
    <link rel="stylesheet" href="css/styles.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/styles2.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/styles3.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

    <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <script src="js/jquery-1.7.2.min.js"></script>
    <script src="js/lightbox.js"></script>
    <script type="text/javascript" src="js/jquery.cycle.all.latest.js"></script>
    
    <script type="text/javascript">
    $(document).ready(function() {
    $('#immagine').cycle({
        fx: 'fade', // ..
        before:  onBefore,
        after:   onAfter
        });
                 
                function onBefore() {
                
                        
                }
                function onAfter() {
                
                
                $('#testo_img').html('<h1>'+this.title+'</h1><h2>' + this.alt +'</h2>');
                }
});
    </script>
</head>
<body> 
<?php
    
if($lang === 'ita'){
    
        include(
'parti/header.php');
    
    }
    
    elseif(
$lang === 'eng'){
        
        include (
'parti/header_eng.php');
    
    }
?>

<div id="wrapper"><!-- #wrapper -->
  <div id="main">
  <section id="laser-ready"><!-- #content -->
     <div id="immagine">
        <?php
           $percorso 
'admin/parti/img_banner_'.$lang.'/';
        
$query "SELECT * FROM banner WHERE id_sez = 4 AND lang = '".$lang."' ";
        
$res mysql_query($query);
            while(
$dati mysql_fetch_array($res)){
                
$titolo $dati['titolo'];
                
$testo $dati['testo'];
                
$file $dati['file'];
            
       
?>
        <img src="<?php echo $percorso.$file?>" width="560" height="309" title="<?php echo $titolo?>" alt="<?php echo $testo?>" />
       <?php
               
}//FINE WHILE
       
?>
        
     </div>
    
     <h2><?php if ($lang === 'ita') echo "ESEMPI DI MICROLAVORAZIONI"; if ($lang === 'eng') echo "LASER MICROMACHINING EXAMPLES"?></h2>
    
    <div id="gallery">
        <?php
           $percorso 
'admin/parti/img_gallery_'.$lang.'/';
        
$query "SELECT * FROM gallery WHERE id_sez = 4 AND lang = '".$lang."' ";
        
$res mysql_query($query);
            while(
$dati mysql_fetch_array($res)){
                
$titolo $dati['titolo'];
                
$testo $dati['testo'];
                
$file $dati['file'];
            
       
?>
        <a href="<?php echo $percorso.$file?>" class="lightbox[marcature]"><img src="<?php echo $percorso.$file?>" class="img_p" width="85" height="85" title="<?php echo $titolo?>" alt="<?php echo $testo?>" /></a>
       <?php
               
}//FINE WHILE
       
?>
        
    </div>
    
    <a href="mailto:sales@micro-la.com" class="preventivo"> <?php if ($lang === 'ita') echo "Preventivo"; if ($lang === 'eng') echo "Request a quote"?> </a>
      
    <div class="testo" id="assistenza" style="clear:right; text-align: justify">
        <br /><br />
        <h2><?php if ($lang === 'ita') echo "Assistenza Tecnica"; if ($lang === 'eng') echo "Technical Support Assistance"?></h2>
        <p><?php if ($lang === 'ita') echo "Microla propone un contratto di assistenza tecnica dedicato  per supportare i propri clienti."; if ($lang === 'eng') echo "Microla offers a dedicated technical assistance contract to support its customers."?>
        <br /><br />
        <?php if ($lang === 'ita') echo "Per richiedere assistenza compilare il modulo dedicato ed inviare via fax o e-mail all’indirizzo: "; if ($lang === 'eng') echo "If you need assistance fill out the dedicated form and send by fax or e-mail to: "?>
        <a href="mailto:service@micro-la.com" class="assistenza"> service@micro-la.com </a><br /><br />
        <?php if ($lang === 'ita') echo "Per assistenza telefonica: "; if ($lang === 'eng') echo "For assistance call: "?>
        +39 335 785 77 70 
        <a href="<?php if ($lang === 'ita') echo "doc/Service_Technical_Form-ITA.pdf"; if ($lang === 'eng') echo "doc/Service_Technical_Form-ENG.pdf"?>" target="_blank" class="preventivo" id="assistenza_bot"> <?php if ($lang === 'ita') echo "Modulo di assistenza"; if ($lang === 'eng') echo "Assistance form"?> </a> </p> 
    </div>
    
    &nbsp;
    
    <h2><?php if ($lang === 'ita') echo "Video Presentazione Laser Ready"; if ($lang === 'eng') echo "Laser Ready Video Presentation"?></h2>
    <div class="testo" id="assistenza" style="clear:right; text-align: justify">
                
        <video controls="controls"  poster="video/Laser_Ready.jpg" style="width:100%" title="Video Laser Ready">
            <source src="video/Laser_Ready.mp4" type="video/mp4" />
            <source src="video/Laser_Ready.ogg" type="video/ogg" />
                
            <object type="application/x-shockwave-flash" data="video/flashfox.swf" width="100%" height="316" style="position:relative;">
                <param name="movie" value="video/flashfox.swf" />
                <param name="allowFullScreen" value="false" />
                <param name="flashVars" value="autoplay=false&amp;controls=true&amp;fullScreenEnabled=false&amp;posterOnEnd=true&amp;loop=false&amp;poster=video/Laser_Ready.jpg&amp;src=Laser_Ready.mp4" />
                 <embed src="video/flashfox.swf" width="562" height="316" style="position:relative;"  flashVars="autoplay=false&amp;controls=true&amp;fullScreenEnabled=false&amp;posterOnEnd=true&amp;loop=false&amp;poster=video/Laser_Ready.jpg&amp;src=Laser_Ready.mp4"    allowFullScreen="false" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer_en" />
                <img alt="Laser_Ready" src="video/Laser_Ready.jpg" width="100%" title="Video playback is not supported by your browser" />
            </object>
        </video>
       
     </div>
  
      &nbsp;
  
  </section><!--end of #content -->
<?php
    
if($lang === 'ita'){
    
        include(
'parti/sidebar.php');
    
    }
    
    elseif(
$lang === 'eng'){
        
        include (
'parti/sidebar_eng.php');
    
    }
?>

 </div><!--end of #main -->
  <div id="push"></div>
 </div><!--end of #wrapper -->
  <?php
    
if($lang === 'ita'){
    
        include(
'parti/footer.php');
    
    }
    
    elseif(
$lang === 'eng'){
        
        include (
'parti/footer_eng.php');
    
    }
?>
</body>
</html>