?
Path : /home/admin/domains/happytokorea.com/public_html_bk/backoffice/process/templates/ |
Current File : /home/admin/domains/happytokorea.com/public_html_bk/backoffice/process/templates/search.tpl |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <HEAD> <TITLE>{TITLE}</TITLE> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> {STYLE} <script type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <script type="text/javascript" src="{CUR_HOST_BACKEND}includes/function.js"></script> </HEAD> <BODY onLoad="MM_preloadImages('{IMAGES_PATH}/submit_active.gif','{IMAGES_PATH}/cancel_active.gif')"> <FORM METHOD=POST ACTION="" name="DATA"> <TABLE width='100%' border=0 cellpadding="" cellspacing="0"> <TR> <TD> <TABLE width='100%' border=1 cellpadding="0" cellspacing="0" > <TR bgcolor="#0099CC"> <TD colspan='2' ALIGN="CENTER"><TABLE width='100%' bordercolor="#000066" border=1 cellpadding="0" cellspacing="0"> <TR> <TD align="center" background="{IMAGES_PATH}/title_bg.gif" height="40"><span class="HEAD_TITLE"><IMG SRC="{IMAGES_PATH}/button01.gif" WIDTH="9" HEIGHT="9" BORDER="0" ALT="" align="absmiddle"><span style="padding-left:20px;"></span><B>Search {TBTH}</B><span style="padding-left:20px;"></span><IMG SRC="{IMAGES_PATH}/button01.gif" WIDTH="9" HEIGHT="9" BORDER="0" ALT="" align="absmiddle"></span></TD> </TR> </TABLE></TD> </TR> <TR> <TD colspan="2"> </TD> </TR> <TR> <TD width="50%" colspan="2"> <table border="0" cellspacing="0" cellpadding="0" align="center" width="100%"> <tr> <td width="12%"> <div align="center"></div> </td> <td width="1%"> </td> <td width="12%"> <div style="padding-left:0px;">Field Data</div> </td> <td width="1%"> </td> <td width="12%"> <div align="center">Operator</div> </td> <td width="1%"> </td> <td width="20%"> <div style="padding-left:0px;">Search</div> </td> </tr> <tr> <td width="12%"> <div align="center"> </div> </td> <td width="1%"> </td> <td width="12%"> <div align="center"> <select name="item_data1" onchange="" style="width:150px"> <option value="" selected>Select Field</option> {F_NAME} </select> </div> </td> <td width="1%"> </td> <td width="12%"> <div align="center"> <select name="f1" style="width:80px"> <option value="=">=</option> <option value="!=">!=</option> <option value="LIKE">LIKE</option> <option value="<"><</option> <option value=">">></option> <option value="<="><=</option> <option value=">=">>=</option> <option value=">=">IS</option> </select> </div> </td> <td width="1%"> </td> <td width="20%"> <input type="text" name="data1" style="width:120px" OnClick="if(document.DATA.item_data1.value=='detail.DATE'){OpenCalendar(2);};"> <input type="hidden" name="date_hid1"> </td> </tr> <tr> <td width="12%"> <div align="center"> </div> </td> <td width="1%"> </td> <td width="12%"> <div style="padding-left:0px;">Field Data</div> </td> <td width="1%"> </td> <td width="12%"> <div align="center">Operator</div> </td> <td width="1%"> </td> <td width="20%"> <div style="padding-left:0px;">Search</div> </td> </tr> <tr> <td width="12%"> <div align="center"> <input type="radio" name="r1" OnClick="document.DATA.br1.value='AND';"> And <input type="radio" name="r1" OnClick="document.DATA.br1.value='OR'"> Or</div> <input type="hidden" name="br1"> </td> <td width="1%"> </td> <td width="12%"> <div align="center"> <select name="item_data2" style="width:150px"> <option value="" selected>Select Field</option> {F_NAME} </select> </div> </td> <td width="1%"> </td> <td width="12%"> <div align="center"> <select name="f2" style="width:80px"> <option value="=">=</option> <option value="!=">!=</option> <option value="LIKE">LIKE</option> <option value="<"><</option> <option value=">">></option> <option value="<="><=</option> <option value=">=">>=</option> <option value=">=">IS</option> </select> </div> </td> <td width="1%"> </td> <td width="20%"> <input type="text" name="data2" style="width:120px" OnClick="if(document.DATA.item_data2.value=='detail.DATE'){OpenCalendar(3);};"> <input type="hidden" name="date_hid2"> </td> </tr> </table> </TD> </TR> <TR> <TD colspan="2"> </TD> </TR> <TR valign="middle"> <TD colspan='2' height="35" align="center"> <BR> <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('SUBMIT','','{IMAGES_PATH}/submit_active.gif',1)" onClick="chk_data();"><img name="SUBMIT" border="0" src="{IMAGES_PATH}/submit_none.gif" alt="SUBMIT"></a> <a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('CANCEL','','{IMAGES_PATH}/cancel_active.gif',1)" onClick="window.close();"><img name="CANCEL" border="0" src="{IMAGES_PATH}/cancel_none.gif" alt="CANCEL"></a><BR><BR> </TD> </TR> </TABLE> </TD></TR></TABLE> </FORM> </BODY> </HTML> <SCRIPT LANGUAGE="JavaScript"> <!-- function chk_data(){ var item_data1=""; var item_data2=""; if(document.forms[0].date_hid1.value!=""){ item_data1=document.forms[0].date_hid1.value; }else{ item_data1=document.forms[0].data1.value; } if(document.forms[0].date_hid2.value!=""){ item_data2=document.forms[0].date_hid2.value; }else{ item_data2=document.forms[0].data2.value; } if(item_data1!=""){ op=window.parent.opener.parent.basefrm.location.href='list_data.php?search=search&item_field1='+document.forms[0].item_data1.value+'&method='+document.forms[0].f1.value+'&item_data1='+item_data1+'&item_field2='+document.forms[0].item_data2.value+'&method2='+document.forms[0].f2.value+'&item_data2='+item_data2+'&condition='+document.forms[0].br1.value+'&TB={TB}&TBTH={TBTH}&selitem={SELITEM}'; window.close(); }else{alert('Please Enter Data...');} } //--> </SCRIPT>