<%@ language=javascript %>
<% //include("funz_ins.inc.php3"); function vis_doc(campo) { switch (campo) { case "sis": var nome_file="Cons_sistem"; break; case "call": var nome_file="Ass_call"; break; case "out": var nome_file="Out_tec"; break; case "appl": var nome_file="Cons_Appl"; break; case "man": var nome_file="Man_soft"; break; } //echo "$query"; figure_file = "d:/web/backoff/offerte/"+nome_file+".txt"; fso = new ActiveXObject("Scripting.FileSystemObject"); if (fso.FileExists(figure_file)){ Response.Write("

"); //Response.Write(" "); file_stream = fso.OpenTextFile(figure_file); var i =0; while (! file_stream.AtEndOfStream){ line_num = file_stream.Line; //Response.Write(line_num+"
"); riga = file_stream.ReadLine(); var dati = String(riga); var arr=dati.split("|"); i++; Response.Write("
"); Response.Write(""); Response.Write(""); Response.Write("
"); Response.Write(""); Response.Write(""); Response.Write(""); Response.Write("
"); Response.Write(""); Response.Write(""); Response.Write(" "); Response.Write(""); Response.Write("
"); Response.Write(" "); Response.Write(" "); Response.Write(" "); Response.Write(""); //Response.Write(" "); Response.Write("\n"); //Response.Write("\n"); campo da inserire nella mail!!!! var rif=arr[2]; //Response.Write(rif); prove per me //Response.Write("\n"); Response.Write("\n"); Response.Write(""); Response.Write("\n"); Response.Write(""); Response.Write("\n"); Response.Write(""); Response.Write(""); Response.Write(""); Response.Write(""); Response.Write("
"); Response.Write("
  "+arr[1]+"Rif:"+arr[2]+"
 
 "+arr[3]+"
 
 "+arr[4]+"
 
  Richiedi Offerta:
"); Response.Write("
"); Response.Write("
"); Response.Write("
\n"); Response.Write("

"); } file_stream.close(); } } //Considera da qui /* $tpf=pg_result($res,$i,"tipo"); switch($tpf) { case "txt": $immagine='txt';break; case "doc": $immagine='word';break; case "xls": $immagine='exel';break; case "pdf": $immagine='pdf';break; case ".ai": $immagine='ai_eps';break; case "fla": $immagine='fla';break; case "ont": $immagine='font';break; case "htm": $immagine='htm_html';break; case "tml": $immagine='htm_html';break; case "eps": $immagine='ai_eps';break; case "mov": $immagine='mov';break; case "ppt": $immagine='ppt';break; case "swf": $immagine='swf';break; case "iff": $immagine='tiff_pict_gif_jpg';break; case "ict": $immagine='tiff_pict_gif_jpg';break; case "gif": $immagine='tiff_pict_gif_jpg';break; case "jpg": $immagine='tiff_pict_gif_jpg';break; case "zip": $immagine='zip_sit';break; case "sit": $immagine='zip_sit';break; case "lnk": $immagine='link';break; default: $immagine='txt';break; } if (!($tpf=='lnk')) { echo " "; echo pg_result($res,$i,"nome"); //echo pg_result($res,$i,"path"); echo " \n"; $area=pg_result($res,$i,"area"); switch($area) { case "int": { $pass='Internet'; break; } case "mul": { $pass='Multimedia'; break; } case "adv": { $pass='ADV'; break; } } */ /*prendiamo i dati del cliente*/ /* for($w=0;$w<$num2;$w++){ }*/ /*inizio parte di gestione*/ /* } pg_close($conn); } */ %> <% var var_pag= String(Request("pag"));%>
Home <% switch (var_pag) { case "c_sistem": Response.Write(" > E-Commerce > Consulenza Sistemistica");break; case "c_applicativa": Response.write(" > E-Commerce > Consulenza Applicativa");break; case "o_tecnologico": Response.write(" > E-Commerce > Servizi di Outsourcing Tecnologico");break; default: Response.write(" > E-Commerce");break; } %>
<%switch (var_pag) { case "c_sistem": %> <%; break; case "c_applicativa": %> <%; break; case "o_tecnologico": %> <% ; break; default: %> <% } %>