Информационная система «Поликлиника «Добрый доктор»»

Автор работы: Пользователь скрыл имя, 06 Июня 2013 в 13:34, курсовая работа

Краткое описание

Цель данной работы – разработать эффективную и удобную базу данных поликлиники «Добрый доктор».
Задачи курсовой работы:
спроектировать базу данных поликлиники «Добрый доктор»;
исследовать компьютерную сеть поликлиники «Добрый доктор»;
создать сайт поликлиники «Добрый доктор» с помощью HTML-страницы

Прикрепленные файлы: 1 файл

Мой курсовик.docx

— 3.37 Мб (Скачать документ)

document.layers["ny"+i].top=Ypos+i*Ybase*Math.sin(min);

document.layers["ny"+i].left=Xpos+i*Xbase*Math.cos(min);

}

for (i=0; i < H.length; i++){

document.layers["nz"+i].top=Ypos+i*Ybase*Math.sin(hrs);

document.layers["nz"+i].left=Xpos+i*Xbase*Math.cos(hrs); }

}

else{

for (i=0; i < dots; ++i){

ieDigits[i].style.pixelTop=Ypos-15+40*Math.sin(-0.49+dots+i/1.9);

ieDigits[i].style.pixelLeft=Xpos-14+40*Math.cos(-0.49+dots+i/1.9);

}

for (i=0; i < S.length; i++){

x[i].style.pixelTop =Ypos+i*Ybase*Math.sin(sec);

x[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(sec);

}

for (i=0; i < M.length; i++){

y[i].style.pixelTop =Ypos+i*Ybase*Math.sin(min);

y[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(min);

}

for (i=0; i < H.length; i++){

z[i].style.pixelTop =Ypos+i*Ybase*Math.sin(hrs);

z[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(hrs);

}

}

setTimeout('clock()',50);

}

if (document.layers || document.all) window.onload=clock;

//-->

</script><br><br><br>

<style type="text/css">

#floater {LEFT: 15px; POSITION: absolute; TOP: 10px; VISIBILITY: visible; WIDTH: 150px; Z-INDEX: 10}

</style>

<table border="4" bgcolor="#F7F8C0" CELLPADDING="5" CELLSPACING="2" id="floater">

<tr><td>

<font size="2" face="Comic Sans MS, Verdana">

Потаскайте  меня:

<p>

<a href="2 страница.html">О  компании</a>

<br>

<a href="3 страница.html">Спектр  услуг</a>

<br>

<a href="4 страница.html">Специалисты</a>

<br>

<a href="Немного  о себе.html">Немного о себе</a>

</font>

</td>

</tr>

</table>

<script language="JavaScript">

<!--

self.onError=null;

currentX = currentY = 0;

whichIt = null;

lastScrollX = 0; lastScrollY = 0;

NS = (document.layers) ? 1 : 0;

IE = (document.all) ? 1: 0;

function heartBeat() {

if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }

if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }

if(diffY != lastScrollY) {

percent = .1 * (diffY - lastScrollY);

if(percent > 0) percent = Math.ceil(percent);

else percent = Math.floor(percent);

if(IE) document.all.floater.style.pixelTop += percent;

if(NS) document.floater.top += percent;

lastScrollY = lastScrollY + percent;

}

if(diffX != lastScrollX) {

percent = .1 * (diffX - lastScrollX);

if(percent > 0) percent = Math.ceil(percent);

else percent = Math.floor(percent);

if(IE) document.all.floater.style.pixelLeft += percent;

if(NS) document.floater.left += percent;

lastScrollX = lastScrollX + percent;

}

}

function checkFocus(x,y) {

stalkerx = document.floater.pageX;

stalkery = document.floater.pageY;

stalkerwidth = document.floater.clip.width;

stalkerheight = document.floater.clip.height;

if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true;

else return false;

}

function grabIt(e) {

if(IE) {

whichIt = event.srcElement;

while (whichIt.id.indexOf("floater") == -1) {

whichIt = whichIt.parentElement;

if (whichIt == null) { return true; }

}

whichIt.style.pixelLeft = whichIt.offsetLeft;

whichIt.style.pixelTop = whichIt.offsetTop;

currentX = (event.clientX + document.body.scrollLeft);

currentY = (event.clientY + document.body.scrollTop);

} else {

window.captureEvents(Event.MOUSEMOVE);

if(checkFocus (e.pageX,e.pageY)) {

whichIt = document.floater;

StalkerTouchedX = e.pageX-document.floater.pageX;

StalkerTouchedY = e.pageY-document.floater.pageY;

}

}

return true;

}

function moveIt(e) {

if (whichIt == null) { return false; }

if(IE) {

newX = (event.clientX + document.body.scrollLeft);

newY = (event.clientY + document.body.scrollTop);

distanceX = (newX - currentX); distanceY = (newY - currentY);

currentX = newX; currentY = newY;

whichIt.style.pixelLeft += distanceX;

whichIt.style.pixelTop += distanceY;

if(whichIt.style.pixelTop < document.body.scrollTop) whichIt.style.pixelTop = document.body.scrollTop;

if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft = document.body.scrollLeft;

if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - whichIt.style.pixelWidth - 20) whichIt.style.pixelLeft = document.body.offsetWidth - whichIt.style.pixelWidth - 20;

if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5;

event.returnValue = false;

} else {

whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY);

if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset;

if(whichIt.top < 0+self.pageYOffset) whichIt.top = 0+self.pageYOffset;

if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-17;

if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-17;

return false;

}

return false;

}

function dropIt() {

whichIt = null;

if(NS) window.releaseEvents (Event.MOUSEMOVE);

return true;

}

if(NS) {

window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);

window.onmousedown = grabIt;

window.onmousemove = moveIt;

window.onmouseup = dropIt;

}

if(IE) {

document.onmousedown = grabIt;

document.onmousemove = moveIt;

document.onmouseup = dropIt;

}

if(NS || IE) action = window.setInterval("heartBeat()",1);

// -->

</script>

<script language="JavaScript1.2">

<!--

function flashit(){

if (!document.all)

return

if (myexample.style.borderColor=="blue")

myexample.style.borderColor="red"

else

myexample.style.borderColor="blue"

}

//Здесь вы  можете поменять интервал мигания

setInterval("flashit()", 500)

//-->

</script>

<BODY onload=runclock()>

<!--Устанавливаем позицию часов-->

<SPAN id=liveclock style="LEFT: 5px; POSITION: absolute; TOP: 5px"></SPAN>

 

<!--Программа часов-->

<SCRIPT language=JavaScript>

<!--

function runclock(){

if (!document.layers&&!document.all)

return

var Digital=new Date()

var hours=Digital.getHours()

var minutes=Digital.getMinutes()

var seconds=Digital.getSeconds()

var dn="AM"

if (hours>24){

dn="PM"

hours=hours-24

}

if (hours==0)

hours=24

if (minutes<=9)

minutes="0"+minutes

if (seconds<=9)

seconds="0"+seconds

myclock="<font size='2' color='darkgreen' face='Verdana, Tahoma'><b>Текущее время:  "+hours+":"+minutes+":"+seconds+" "+dn+"</b></font>"

if (document.layers){

document.layers.liveclock.document.write(myclock)

document.layers.liveclock.document.close()

}

else if (document.all)

liveclock.innerHTML=myclock

setTimeout("runclock()",1000)

}

//-->

</SCRIPT>

<script language="JavaScript">

<!--

<!-- Begin

monthnames = new Array(

"Январь",

"Февраль",

"Март",

"Апрель",

"Май",

"Июнь",

"Июль",

"Август",

"Сентябрь",

"Октябрь",

"Ноябрь",

"Декабрь");

var linkcount=0;

function addlink(month, day, href) {

var entry = new Array(3);

entry[0] = month;

entry[1] = day;

entry[2] = href;

this[linkcount++] = entry;

}

Array.prototype.addlink = addlink;

linkdays = new Array();

monthdays = new Array(12);

monthdays[0]=31;

monthdays[1]=28;

monthdays[2]=31;

monthdays[3]=30;

monthdays[4]=31;

monthdays[5]=30;

monthdays[6]=31;

monthdays[7]=31;

monthdays[8]=30;

monthdays[9]=31;

monthdays[10]=30;

monthdays[11]=31;

todayDate=new Date();

thisday=todayDate.getDay();

thismonth=todayDate.getMonth();

thisdate=todayDate.getDate();

thisyear=todayDate.getYear();

thisyear = thisyear % 100;

thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));

if (((thisyear % 4 == 0)

&& !(thisyear % 100 == 0))

||(thisyear % 400 == 0)) monthdays[1]++;

startspaces=thisdate;

while (startspaces > 7) startspaces-=7;

startspaces = thisday - startspaces + 1;

if (startspaces < 0) startspaces+=7;

document.write("<table border=4 bgcolor=#F7F8C0 bordercolor=green>");

document.write("<tr><td colspan=7 align=center><b><font size=2>" + monthnames[thismonth] + " " + thisyear + "</font></b></td></tr>");

document.write("<tr>");

document.write("<td align=center><font size=2>Вс</font></td>");

document.write("<td align=center><font size=2>Пн</font></td>");

document.write("<td align=center><font size=2>Вт</font></td>");

document.write("<td align=center><font size=2>Ср</font></td>");

document.write("<td align=center><font size=2>Чт</font></td>");

document.write("<td align=center><font size=2>Пт</font></td>");

document.write("<td align=center><font size=2>Сб</font></td>");

document.write("</tr>");

document.write("<tr>");

for (s=0;s<startspaces;s++) {

document.write("<td></td>");

}

count=1;

while (count <= monthdays[thismonth]) {

for (b = startspaces;b<7;b++) {

linktrue=false;

document.write("<td><font size=2>");

for (c=0;c<linkdays.length;c++) {

if (linkdays[c] != null) {

if ((linkdays[c][0]==thismonth + 1) && (linkdays[c][1]==count)) {

document.write("<a href=\"" + linkdays[c][2] + "\">");

linktrue=true;}

}

}

if (count==thisdate) {

document.write("<font color='FF0000'><b>");

}

if (count <= monthdays[thismonth]) {

document.write(count);

}

else {

document.write(" ");

}

if (count==thisdate) {

document.write("</b></font>");

}

if (linktrue)

document.write("</a>");

document.write("</font></td>");

count++;

}

document.write("</tr>");

startspaces=0;

}

document.write("</table>");

// End

// -->

</script>

<script language="JavaScript">

fCol='000000'; //Цве циферблата

sCol='ff0000'; //Цвет  секундной стрелки

mCol='000000'; //Цвет  минутной стрелки

hCol='000000'; //Цвет  часовой стрелки

H='....';

H=H.split('');

M='.....';

M=M.split('');

S='......';

S=S.split('');

Ypos=0;

Xpos=0;

Ybase=8;

Xbase=8;

dots=12;

ns=(document.layers)?1:0;

if (ns){

dgts='1 2 3 4 5 6 7 8 9 10 11 12';

dgts=dgts.split(' ')

for (i=0; i < dots; i++){

document.write('<layer name=nsDigits'+i+' top=0 left=0 height=30 width=30><center><font face=Arial,Verdana size=1 color='+fCol+'>'+dgts[i]+'</font></center></layer>');

}

for (i=0; i < M.length; i++){

document.write('<layer name=ny'+i+' top=0 left=0 bgcolor='+mCol+' clip="0,0,2,2"></layer>');

} for (i=0; i < H.length; i++){

document.write('<layer name=nz'+i+' top=0 left=0 bgcolor='+hCol+' clip="0,0,2,2"></layer>');

} for (i=0; i < S.length; i++){

document.write('<layer name=nx'+i+' top=0 left=0 bgcolor='+sCol+' clip="0,0,2,2"></layer>');}

}

else{

document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');

for (i=1; i < dots+1; i++){

document.write('<div id="ieDigits" style="position:absolute;top:0px;left:0px;width:30px;height:30px;font-family:Arial,Verdana;font-size:10px;color:'+fCol+';text-align:center;padding-top:10px">'+i+'</div>');

}

document.write('</div></div>')

document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');

Информация о работе Информационная система «Поликлиника «Добрый доктор»»