123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>장문메시지전송</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <bizabbr>ast</bizabbr>
- <replytelno/>
- <rsrvyn>0</rsrvyn>
- <rsrvdate/>
- <rsrvtime/>
- <msgcnts/>
- <recvrlist>
- <chk/>
- <recvrnm/>
- <recvrtelno/>
- </recvrlist>
- <msgfrmtid/>
- <msgparam1/>
- <msgparam2/>
- <msgparam3/>
- <msgparam4/>
- </main>
- <send>
- </send>
- <init>
- </init>
- <hidden>
- <bytecnt>0</bytecnt>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/SPAHR00910.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TXZMI00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="267" pageheight="607" guideline="1,250;2,591;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" class="sms" style="left:0px; top:0px; width:251px; height:593px; ">
- <textarea id="tar_contents" ref="/root/main/msgcnts" style="left:26px; top:65px; width:197px; height:174px; padding:10; background-color:transparent; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var opt_bytesValue = tar_contents.currentText.getByteLength();
- var contents = tar_contents.currentText;
-
- if (parseInt(opt_bytesValue) > 2000)
- {
- messageBox("메시지는 2000bytes 를 넘을 수 없습니다.", "I999");
- model.setValue("/root/main/msgcnts",contents.cut(80));
- tar_contents.refresh();
- return;
- }
-
- model.setValue("/root/hidden/bytecnt", opt_bytesValue);
- opt_bytes.refresh();
- ]]>
- </script>
- </textarea>
- <button id="btn_addnumber" class="num_add" style="left:49px; top:316px; width:73px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var i;
- grd_recvrlist.addItem();
- i = grd_recvrlist.rows;
- grd_recvrlist.bottomRow = i;
- grd_recvrlist.select(i, 1, i, 1) = true;
- ]]>
- </script>
- </button>
- <button id="btn_deletenumber" class="num_del" style="left:128px; top:316px; width:73px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fgriddelete(grd_recvrlist);
- ]]>
- </script>
- </button>
- <line id="line1" style="x1:28px; y1:475px; x2:221px; y2:475px; border-color:#C4CDDB; "/>
- <input id="ipt_trsmreqdt_date" ref="/root/main/rsrvdate" class="input_default" visibility="hidden" imemode="disabled" inputtype="date" validateformat="true" style="left:44px; top:503px; width:93px; height:19px; "/>
- <select1 id="rdo_rsrvyn" ref="/root/main/rsrvyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:44px; top:481px; width:161px; height:17px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>즉시전송</label>
- <value>0</value>
- </item>
- <item>
- <label>예약전송</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- frdocheck();
- ipt_trsmreqdt_date.value="";
- ipt_trsmreqdt_time.value="";
-
- ]]>
- </script>
- </select1>
- <input id="ipt_trsmreqdt_time" ref="/root/main/rsrvtime" class="input_default" visibility="hidden" imemode="disabled" format="hh:nn" showmask="true" validateformat="true" style="left:140px; top:503px; width:65px; height:19px; "/>
- <datagrid id="grd_recvrlist" nodeset="/root/main/recvrlist" class="datagrid_sms" caption="^수신자명^전화번호" colwidth="19, 53, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:26px; top:355px; width:195px; height:115px; ">
- <col class="sms" checkvalue="Y,N" ref="chk" type="checkbox" style="text-align:center; "/>
- <col ref="recvrnm" type="input"/>
- <col ref="recvrtelno" type="input" format="99999999999" maxlength="11"/>
- </datagrid>
- <button id="button7" style="left:48px; top:357px; width:15px; height:15px; ">
- <caption>v</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSelectAll(grd_recvrlist);
- ]]>
- </script>
- </button>
- <output id="opt_bytes" ref="/root/hidden/bytecnt" style="left:78px; top:246px; width:30px; height:19px; color:#ff0000; text-align:right; "/>
- <caption id="caption1" style="left:109px; top:248px; width:67px; height:15px; color:#0000ff; ">/2000 bytes</caption>
- <button id="btn_cancel" class="sms_cancel" style="left:127px; top:529px; width:62px; height:21px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="ipt_send" class="sms_send" style="left:57px; top:529px; width:62px; height:21px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSMSSubmit("/root/main");
-
- ]]>
- </script>
- </button>
- <button id="button5" class="send_name" style="left:35px; top:487px; width:52px; height:10px; ">
- <caption/>
- </button>
- <button id="button6" class="send_phone" style="left:35px; top:507px; width:64px; height:10px; ">
- <caption/>
- </button>
- <output id="opt_sender" class="input_default" disabled="false" style="left:112px; top:481px; width:109px; height:19px; "/>
- <input id="ipt_callback" ref="/root/main/replytelno" class="input_default" imemode="disabled" maxlength="11" format="99999999999" style="left:112px; top:502px; width:109px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|