---
title: "个人使用"
author: "archershot"
date: "2010-11-11T01:32:29Z"
tags: []
categories: ["非技术"]
slug: "untitled"
draft: false
lastmod: "2010-12-28T22:53:51Z"
id: 808219
url: "https://archershot.iteye.com/blog/808219"
---

t1000.unix-center.net

 

 

&lt;!DOCTYPE html&gt;

&lt;html&gt;

&lt;head&gt;

 

&lt;link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/&gt;

 

  &lt;script language="javascript" src="jquery-1.4.js"&gt;&lt;/script&gt;

  &lt;script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"&gt;&lt;/script&gt;

 

  &lt;script&gt;

  $(document).ready(function() {

$("#click").click(function(){

//alert("ok");

$("#dialog").dialog({

//autoOpen: false,

modal:true,

        width:270,

        height:280,

 

title:"添加（修改）商品类信息",

buttons: {

            "Ok": function()

            {

                $(this).dialog("close");

            },

            "Cancel": function()

            {

                $(this).dialog("close");

            }

        }

 

 

});

});

  });

  &lt;/script&gt;

&lt;/head&gt;

&lt;body style="font-size:62.5%;"&gt;

&lt;button id="click" &gt;click&lt;/button&gt;

&lt;div id="dialog" title="Dialog Title"&gt;

 

&lt;include file="textDialog\_inculde.html" /&gt;

&lt;/div&gt;

 

&lt;/body&gt;

&lt;/html&gt;

 

=======================

 

CREATE OR REPLACE FUNCTION test\_fun(  
s varchar2, e varchar2) return number is

start\_date date;  
end\_date date;  
cre\_date date;  
begin

start\_date := to\_date(s,'YYYY/MM/DD');  
end\_date := to\_date(e,'YYYY/MM/DD');  
select sysdate into cre\_date from dual;  
loop  
insert into rep\_date\_temp values(to\_char(start\_date,'MM/YYYY'), cre\_date);  
start\_date := add\_months(start\_date,1);  
if start\_date &gt; end\_date then  
exit;  
end if;  
end loop;  
commit;  
delete from rep\_date\_temp where cre\_time = cre\_date;  
return 0;  
end;

 

=======================