diff --git a/admin/test_cr.php b/admin/test_cr.php deleted file mode 100644 index 44015a0..0000000 --- a/admin/test_cr.php +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - -Запомнить комплект - - \ No newline at end of file diff --git a/css/bkstyle.css b/css/bkstyle.css deleted file mode 100644 index 7abe242..0000000 --- a/css/bkstyle.css +++ /dev/null @@ -1,520 +0,0 @@ -/*! jQuery UI - v1.9.0 - 2012-10-10 -* http://jqueryui.com -* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css -* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=10pt&cornerRadius=0px&bgColorHeader=c7c7c7&bgTextureHeader=01_flat.png&bgImgOpacityHeader=100&borderColorHeader=a5a5a5&fcHeader=bf0000&iconColorHeader=000000&bgColorContent=e2e0e0&bgTextureContent=01_flat.png&bgImgOpacityContent=100&borderColorContent=a5a5a5&fcContent=222222&iconColorContent=000000&bgColorDefault=e0dfe3&bgTextureDefault=01_flat.png&bgImgOpacityDefault=100&borderColorDefault=b0b0b0&fcDefault=003388&iconColorDefault=000000&bgColorHover=e0dfe3&bgTextureHover=01_flat.png&bgImgOpacityHover=100&borderColorHover=b0b0b0&fcHover=003388&iconColorHover=000000&bgColorActive=e0dfe3&bgTextureActive=01_flat.png&bgImgOpacityActive=100&borderColorActive=b0b0b0&fcActive=003388&iconColorActive=000000&bgColorHighlight=fff6dd&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=100&borderColorHighlight=b0b0b0&fcHighlight=000000&iconColorHighlight=000000&bgColorError=e2e0e0&bgTextureError=01_flat.png&bgImgOpacityError=100&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=0px -* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } -.ui-helper-clearfix:after { clear: both; } -.ui-helper-clearfix { zoom: 1; } -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* states and images */ -.ui-icon { width: 16px; height: 14px; background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } -.ui-widget-content .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } -.ui-widget-header .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } -.ui-state-default .ui-icon { background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } -.ui-state-active .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } -.ui-state-highlight .ui-icon {background-image: url(/i/jquery-ui/ui-icons_000000_256x240.png); } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(/i/jquery-ui/ui-icons_cd0a0a_256x240.png); } - -/* Component containers -----------------------------------*/ -.ui-widget { - font-family: Verdana,Arial,sans-serif; font-size: 10pt; -} -.ui-widget .ui-widget { - font-size: 1em; -} -.ui-widget input, -.ui-widget select, -.ui-widget textarea, -.ui-widget button { - border: solid 1px #b0b0b0; - margin-top: 1px; - margin-bottom: 2px; - font-size: 11px; - color: #191970; - -} -.ui-widget-content { border: 1px solid #a5a5a5; background: #e2e0e0 url(/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png) 50% 50% repeat-x; color: #222222; } -.ui-widget-content a { color: #003388; } -.ui-widget-header { border: 1px solid #a5a5a5; background: #c7c7c7 url(/i/jquery-ui/ui-bg_flat_100_c7c7c7_40x100.png) 50% 50% repeat-x; color: #bf0000; font-weight: bold; } -.ui-widget-header a { color: #bf0000; } - - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #b0b0b0; background: #e0dfe3 url(/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #003388; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #003388; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #b0b0b0; background: none; font-weight: normal; color: #003388; } -.ui-state-hover a, .ui-state-hover a:hover { color: #0066FF; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #b0b0b0; background: #e0dfe3 url(/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png) 50% 50% repeat-x; font-weight: normal; color: #003388; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #003388; text-decoration: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #b0b0b0; background: #fff6dd url(/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png) 50% 50% repeat-x; color: #000000; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #000000; } -.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #e2e0e0 url(/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png) 50% 50% repeat-x; color: #cd0a0a; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } -.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; margin-top: 2px; padding: .5em .5em .5em .7em; zoom: 1; } -.ui-accordion .ui-accordion-icons { padding-left: 2.2em; } -.ui-accordion .ui-accordion-noicons { padding-left: .7em; } -.ui-accordion .ui-accordion-icons .ui-accordion-icons { padding-left: 2.2em; } -.ui-accordion .ui-accordion-header .ui-accordion-header-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; zoom: 1; } -.ui-autocomplete { position: absolute; cursor: default; } - -/* workarounds */ -* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ -.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ -.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; } -.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ -button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.ui-button-icons-only { width: 3.4em; } -button.ui-button-icons-only { width: 3.7em; } - -/*button text element */ -.ui-button .ui-button-text { display: block; line-height: 1.4; } -.ui-button-text-only .ui-button-text { padding: 0 1em; } -.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } -/* no icon support for input elements, provide padding by default */ -input.ui-button { padding: .4em 1em; } - -/*button icon element(s) */ -.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } -.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } -.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } -.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } -.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } - -/*button sets*/ -.ui-buttonset { margin-right: 7px; } -.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } - -/* workarounds */ -button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ -.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } -.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } -.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.ui-datepicker .ui-datepicker-prev { left:2px; } -.ui-datepicker .ui-datepicker-next { right:2px; } -.ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } -.ui-datepicker select.ui-datepicker-month-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -}.ui-dialog { position: absolute; padding: 0; width: 300px; overflow: hidden; } -.ui-dialog .ui-dialog-titlebar { padding: 0; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } -.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 1px; } -.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: 0; background: none; overflow: auto; zoom: 1; } -.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background: inherit; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } -.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } - .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } - -/* убираем рамку с иконок */ -.ui-widget-header .ui-state-hover, .ui-widget-header .ui-state-focus { border: 0} - -/* песочный Диалог */ -.ui-dialog.sand-style .ui-widget-content{ - background: #fff6dd url(/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png) 50% 50% repeat-x; - color: #000000; -} - - -.ui-dialog.sand-style .ui-state-highlight, -.ui-dialog.sand-style .ui-widget-content .ui-state-highlight, -.ui-dialog.sand-style .ui-widget-header .ui-state-highlight{ - border: 1px solid #b0b0b0; - background: #fff6dd url(/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png) 50% 50% repeat-x; color: #000000; -} -.ui-dialog.sand-style .ui-state-error, -.ui-widget-content .ui-state-error, -.ui-widget-header .ui-state-error { - border: 1px solid #cd0a0a; - background: #fff6dd url(/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png) 50% 50% repeat-x; - color: #cd0a0a; -} -.ui-dialog.sand-style .ui-widget-header { - background: #ccc3aa url(/i/jquery-ui/ui-bg_flat_100_ccc3aa_40x100.png) 50% 50% repeat-x; - color: #000000; - font-weight: bold; - text-align: center; - font-size: 12px; - padding: 2px; - border: none; -} -.ui-dialog.sand-style .ui-dialog-title { - margin: 0px; -} - - -.ui-draggable .ui-dialog-titlebar { cursor: move; } -.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; outline: none; } -.ui-menu .ui-menu { margin-top: -3px; position: absolute; } -.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; } -.ui-menu .ui-menu-divider { margin: 5px -2px 5px -2px; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; } -.ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; } -.ui-menu .ui-menu-item a.ui-state-focus, -.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; } - -.ui-menu .ui-state-disabled { font-weight: normal; margin: .4em 0 .2em; line-height: 1.5; } -.ui-menu .ui-state-disabled a { cursor: default; } - -/* icon support */ -.ui-menu-icons { position: relative; } -.ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; } - -/* left-aligned */ -.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; } - -/* right-aligned */ -.ui-menu .ui-menu-icon { position: static; float: right; } -.ui-progressbar { height:2em; text-align: left; overflow: hidden; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }.ui-slider { position: relative; text-align: left; } -.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } - -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.ui-slider-vertical { width: .8em; height: 100px; } -.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; }.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; } -.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; } -.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; } -.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */ -.ui-spinner .ui-icon { position: absolute; margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */ -.ui-spinner-up { top: 0; } -.ui-spinner-down { bottom: 0; } - -/* TR overrides */ -span.ui-spinner { background: none; } -.ui-spinner .ui-icon-triangle-1-s { - /* need to fix icons sprite */ - background-position:-65px -16px; -} -.ui-tabs { position: relative; padding: 0; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.ui-tabs .ui-tabs-nav { margin: 0; padding: 0; } -.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 0; margin: 0px .2em 0 0; border-bottom: 0; padding: 0; white-space: nowrap; } -.ui-tabs .ui-tabs-nav li a { float: left; padding: .2em 1em; text-decoration: none; } -.ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 1px;} -.ui-tabs .ui-tabs-nav li.ui-tabs-active a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-tabs-loading a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } - -/* Табы в стиле БК */ -.ui-tabs.ui-widget-header, .ui-tabs .ui-widget-header{ border: 0px solid #C0C0C0; background: #c7c7c7 url(i/images/ui-bg_flat_100_c7c7c7_40x100.png) 50% 50% repeat-x; color: #000000; font-weight: bold; } -.ui-tabs.ui-state-default, .ui-tabs .ui-state-default { border: 0; background: #c7c7c7; color: #003388; } -.ui-tabs.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #b0b0b0; background: #a5a5a5 url(i/images/ui-bg_flat_100_a5a5a5_40x100.png) 50% 50% repeat-x; font-weight: bold; color: #191970; } - - -.ui-tooltip { - padding:8px; - position:absolute; - z-index:9999; - -o-box-shadow: 0 0 5px #aaa; - -moz-box-shadow: 0 0 5px #aaa; - -webkit-box-shadow: 0 0 5px #aaa; - box-shadow: 0 0 5px #aaa; -} -/* Fades and background-images don't work well together in IE6, drop the image */ -* html .ui-tooltip { - background-image: none; -} -body .ui-tooltip { border-width:2px; } - -/* Icons -----------------------------------*/ - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-on { background-position: -96px -144px; } -.ui-icon-radio-off { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 0px; -webkit-border-top-left-radius: 0px; -khtml-border-top-left-radius: 0px; border-top-left-radius: 0px; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 0px; -webkit-border-top-right-radius: 0px; -khtml-border-top-right-radius: 0px; border-top-right-radius: 0px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 0px; -webkit-border-bottom-left-radius: 0px; -khtml-border-bottom-left-radius: 0px; border-bottom-left-radius: 0px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 0px; -webkit-border-bottom-right-radius: 0px; -khtml-border-bottom-right-radius: 0px; border-bottom-right-radius: 0px; } - -/* Overlays */ -.ui-widget-overlay { background: #aaaaaa url(/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .3;filter:Alpha(Opacity=30); } -.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .3;filter:Alpha(Opacity=30); -moz-border-radius: 0px; -khtml-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; } \ No newline at end of file diff --git a/css/btn.css b/css/btn.css index 993887a..caf7347 100644 --- a/css/btn.css +++ b/css/btn.css @@ -1,8 +1,7 @@ ul.btn-control.main { margin: 0; - padding: 0; - list-style: none; - padding-right: 10px; + list-style: none none; + padding: 0 10px 0 0; } ul.btn-control.main li { @@ -11,16 +10,14 @@ ul.btn-control.main li { .btn { display: inline-block; - font-family: MS Sans Serif; + font-family: MS Sans Serif, sans-serif; font-size: 10px; text-align: center; -webkit-touch-callout: none; -webkit-user-select: none; - -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - display: inline-block; line-height: 10px \0/; } @@ -38,8 +35,7 @@ input.btn { margin: 0; line-height: 10px; color: black; - padding: 0; - padding-top: 1px; + padding: 1px 0 0; } .button-big { @@ -72,7 +68,7 @@ input.btn { font-weight: bold; font-size: 12pt; color: #8F0000; - font-family: Arial; + font-family: Arial, serif; text-align: center; } diff --git a/css/contact.css b/css/contact.css deleted file mode 100644 index 8bad1db..0000000 --- a/css/contact.css +++ /dev/null @@ -1,21 +0,0 @@ -#contact-overlay { background-color: #000; } -#contact-container { font: 16px/22px 'Trebuchet MS', Verdana, Arial; text-align: left; width: 950px; } -#contact-container .contact-content { background-color: #333; color: #ddd; height: 40px; } -#contact-container h1 {color:#d76300; font-size:20px; line-height:20px; margin:0; padding:0 0 6px 12px; text-align:left;} -#contact-container .contact-loading {background:url(../i/loading.gif) no-repeat; height:55px; margin:-14px 0 0 190px; padding:0; position:absolute; width:54px; z-index:8000;} -#contact-container .contact-message {text-align:center;} -#contact-container .contact-error {background:#000; border:2px solid #ccc; font-size:14px; font-weight:bold; line-height:18px; margin:0 auto; padding:2px; width:92%;} -#contact-container br {clear:both;} -#contact-container form { margin:0; padding:0; } -#contact-container label { clear:left; display:block; float:left; font-weight:bold; padding-right:4px; text-align:right; width:100px;} -#contact-container .contact-input { background:#eee; border:1px solid #fff; font-family:'Trebuchet MS', Verdana, Arial; float:left; padding:2px; margin:2px; width:300px;} -#contact-container textarea {height:114px;} -#contact-container .contact-cc {cursor:default; font-size:14px; vertical-align:top;} -#contact-container .contact-top {background-color:#333; height:13px; margin:0; padding:0; -webkit-border-top-left-radius:8px; -webkit-border-top-right-radius:8px; -moz-border-radius-topleft:8px; -moz-border-radius-topright:8px; border-radius:8px 8px 0 0;} -#contact-container .contact-bottom {background-color:#333; font-size:12px; height:13px; line-height:12px; text-align:center; -webkit-border-bottom-right-radius:8px; -webkit-border-bottom-left-radius:8px; -moz-border-radius-bottomright:8px; -moz-border-radius-bottomleft:8px; border-radius:0 0 8px 8px;} -#contact-container .contact-bottom a, #contact-container .contact-bottom a:link, #contact-container .contact-bottom a:active, #contact-container .contact-bottom a:visited { color: #666; position: relative; top: -4px; text-decoration: none; } -#contact-container .contact-bottom a:hover { color: #888; } -#contact-container .contact-button {background:#d76300; border:0; color:#fff; cursor:pointer; font-size:13px; font-weight:bold; height:21px; margin:2px 0 0 4px; text-align:center; vertical-align:middle; -webkit-border-radius:8px; -moz-border-radius:8px; border-radius:8px;} -#contact-container .contact-button:hover { background: #f49000; } -#contact-container a.modal-close, #contact-container a.modal-close:link, #contact-container a.modal-close:active, #contact-container a.modal-close:visited { color: #999; font-size: 18px; font-weight: bold; position: absolute; text-decoration: none; right: 8px; top: 0px; } -#contact-container a.modal-close:hover { color: #ccc; } \ No newline at end of file diff --git a/css/event.css b/css/event.css deleted file mode 100644 index 2468d64..0000000 --- a/css/event.css +++ /dev/null @@ -1,121 +0,0 @@ -body { - background-color: #CCCCCC; - margin-left: 0px; - margin-top: 0px; - margin-right: 0px; - margin-bottom: 0px; -} - -.normaltextm { font-family: Verdana, Arial, Helvetica, sans-serif, Tahoma; font-size: 10pt; color: #003C70;} -.smalltextm { - font-family: Verdana, Arial, Helvetica, sans-serif, Tahoma; - font-size: 8pt; - color: #800000; - margin: 3px; -} -.headerm { font-family: Verdana, Arial, Helvetica, sans-serif, Tahoma; font-size: 12pt; color: #31659C; margin-left: 7px ; margin-right: 7px} - -TABLE, TR, TD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000; } - -.normaltext { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000;} -.smalltext { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000; } -.header { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt; color: #31659C;} - -.button{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; background-color : #DDDDDD; border : 1px solid #DDDDDD; border-bottom : 2px solid #333333; border-right : 2px solid #333333; color : Black; } -.check{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000;} -.input{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: Black; border: 1px solid #000000; background-color: White; } -.inup{font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #CCCCCC; border: 1px solid #AA0000; background-color: #550000; } - - -BODY{ - SCROLLBAR-FACE-COLOR: #CCCCCC; - SCROLLBAR-HIGHLIGHT-COLOR: #222222; - SCROLLBAR-SHADOW-COLOR: #222222; - SCROLLBAR-ARROW-COLOR: Black; - scrollbar-3dlight-color : #CCCCCC; - scrollbar-base-color : White; - scrollbar-darkshadow-color : #CCCCCC; - scrollbar-track-color : #999999; - background-image: url(/i/bagr.gif); -} - - -.menu:link, .menu:visited, .menu:active { text-decoration:underline; color:#AA0000;} -.menu:hover { text-decoration:underline;color:#AA0000;} - -a:link, a:visited, a:active { text-decoration:none; color:#800000;} -a:hover { text-decoration:underline;color:#580000;} - -.NEWS { border: 1px dotted #DDDDDD;} - -.button_enter { - font-family: Arial; - font-size: 12px; - font-weight: bold; - color: #E9EBE2; - background-color: #960000; - border: none; - height: 21px; - width: 75px; -} - -.page_title { - text-align: right; font-weight:bold; margin-right:12px; font-size:12px; -} - -#menu{ - list-style:none; - padding:0; - margin:0; -} -#menu li{ - float:left; - height:20px; - padding:0; - margin:0; - width:150px; - text-align:center; - background:#0CF; - position:relative; -} -#menu li ul{ - list-style:none; - padding:0; - margin:0; - width:150px; - position:absolute; - left:0; - top:20px; - display:none; -} -#menu li ul li{ - float:none; - height:20px; - margin:0; - width:150px; - text-align:center; - background:#0CF; -} -#menu li a{ - display:block; - width:150px; - height:20px; -} -#menu li:hover ul{ - display:block; -} -#menu li:hover{ - background:#F00; -} - -alt2{ margin: 0px; padding: 6px; border: 1px inset;} -smallfont{margin-bottom:2px;} -spoil{margin:10px; margin-top:5px;} - -.b1 { - background: navy; - color: white; - font-size: 9pt; - } - -.img \ No newline at end of file diff --git a/css/fightclub.css b/css/fightclub.css deleted file mode 100644 index 282cfcb..0000000 --- a/css/fightclub.css +++ /dev/null @@ -1,250 +0,0 @@ -#ione{ - position:relative; - cursor:pointer; - height:240px; - width:500px; -} -.navig{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/club/navig.jpg') no-repeat left top; -} -.navig1{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/club/navig1.jpg') no-repeat left top; -} -.navig2{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/club/navig.jpg') no-repeat left top; -} -.navig3{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/club/navig3.jpg') no-repeat left top; -} -.fl1{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/fl1.gif') no-repeat center; - position:absolute; - width:16px; - height:16px; - z-index:90; -} -.map_bk{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_bk.gif') no-repeat center; - position:absolute; - width:120px; - height:35px; - z-index:90; - left:184px; - top:94px; -} -.map_halls{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_halls.gif') no-repeat center; - position:absolute; - width:120px; - height:35px; - z-index:90; - left:354px; - top:115px; -} -.map_demon2{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_demon2.gif') no-repeat center; - position:absolute; - width:107px; - height:15px; - z-index:90; - left:329px; - top:111px; -} -.map_2stair{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_2stair.gif') no-repeat center; - position:absolute; - width:120px; - height:35px; - z-index:90; - left:23px; - top:116px; -} -.map_klub1{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub1.gif') no-repeat center; - position:absolute; - width:56px; - height:13px; - z-index:90; - left:66px; - top:114px; -} -.map_klub2{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub2.gif') no-repeat center; - position:absolute; - width:58px; - height:49px; - z-index:90; - left:216px; - top:41px; -} -.map_klub3{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub3.gif') no-repeat center; - position:absolute; - width:123px; - height:31px; - z-index:90; - left:312px; - top:168px; -} -.map_klub4{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub4.gif') no-repeat center; - position:absolute; - width:123px; - height:31px; - z-index:90; - left:59px; - top:169px; -} -.map_klub5{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub5.gif') no-repeat center; - position:absolute; - width:123px; - height:30px; - z-index:90; - left:312px; - top:48px; -} -.map_klub6{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub6.gif') no-repeat center; - position:absolute; - width:123px; - height:30px; - z-index:90; - left:52px; - top:47px; -} -.map_klub7{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_klub7.gif') no-repeat center; - position:absolute; - width:103px; - height:47px; - z-index:90; - left:196px; - top:148px; -} -.map_zal2{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zal2.gif') no-repeat center; - position:absolute; - width:175px; - height:37px; - z-index:90; - left:264px; - top:106px; -} -.map_zal3{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zal3.gif') no-repeat center; - position:absolute; - width:135px; - height:29px; - z-index:90; - left:47px; - top:120px; -} -.map_zal3{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zal3.gif') no-repeat center; - position:absolute; - width:135px; - height:29px; - z-index:90; - left:47px; - top:120px; -} -.map_zalu3{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zalu3.gif') no-repeat center; - position:absolute; - width:79px; - height:32px; - z-index:90; - left:17px; - top:122px; -} -.map_zalu4{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zalu4.gif') no-repeat center; - position:absolute; - width:122px; - height:31px; - z-index:90; - left:52px; - top:47px; -} -.map_zalu6{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zalu6.gif') no-repeat center; - position:absolute; - width:76px; - height:18px; - z-index:90; - left:78px; - top:24px; -} -.map_zalu7{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_zalu7.gif') no-repeat center; - position:absolute; - width:100px; - height:35px; - z-index:90; - left:393px; - top:170px; -} -.map_sec1{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec1.gif') no-repeat center; - position:absolute; - width:91px; - height:43px; - z-index:90; - left:24px; - top:180px; -} -.map_sec2{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec2.gif') no-repeat center; - position:absolute; - width:63px; - height:40px; - z-index:90; - left:36px; - top:41px; -} -.map_sec3{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec3.gif') no-repeat center; - position:absolute; - width:101px; - height:37px; - z-index:90; - left:119px; - top:175px; -} -.map_sec4{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec4.gif') no-repeat center; - position:absolute; - width:89px; - height:32px; - z-index:90; - left:391px; - top:120px; -} -.map_sec5{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec5.gif') no-repeat center; - position:absolute; - width:122px; - height:31px; - z-index:90; - left:281px; - top:173px; -} -.map_sec6{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec6.gif') no-repeat center; - position:absolute; - width:123px; - height:30px; - z-index:90; - left:305px; - top:51px; -} -.map_sec7{ - background:url('http://img.new.capitalcity.old-dark.ru/i/images/300x225/map_sec7.gif') no-repeat center; - position:absolute; - width:123px; - height:39px; - z-index:90; - left:122px; - top:52px; -} \ No newline at end of file diff --git a/css/forum.css b/css/forum.css deleted file mode 100644 index 4bd2d29..0000000 --- a/css/forum.css +++ /dev/null @@ -1,164 +0,0 @@ -body { - font-family: Verdana, Helvetica, Arial, Tahoma, sans-serif; - font-size: 10pt; - background: #000000; - margin: 5px; - color: #000000; -} - -.inup { - background-color: #ded7bd; - font-size: 8pt; - border: 1px double #302f2a; -} - -.text { - font-weight: normal -} - -h3 { - text-align: center; - color: #8f0000; - font-size: 12pt; - font-weight: bold -} - -h4 { - margin-bottom: 5px; - color: #8f0000; - font-size: 11pt; - font-weight: bold -} - -a:link, a:visited, a:active { - color: #524936; - font-weight: normal; - text-decoration: none -} - -a:hover { - color: #68727b; - text-decoration: underline -} - -.dsc { - color: #606060; - font-weight: normal -} - -select, textarea, input { - margin-top: 1px; - margin-bottom: 2px; - color: #191970; - font-size: 10px; - border: 1pt solid #b0b0b0; -} - -.pagenum a:link, .pagenum a:visited, .pagenum a:active, .pagenum a:hover { - margin: 0; - width: 1em; - padding: 0 3px 0; -} - -.pagenum a:hover { - background-color: white; -} - -.pleft { - margin: 0; - padding: 3px 0 7px 20px; -} - -.pages { - background-color: #ffefbf -} - -img { - border-width: 0; -} - -table { - border-width: 0; -} - -.btn { - background-color: #2b2b18; - color: #dfddd3; - font-size: 7.5pt; - border: 1px double #817a63; -} - -.style6 { - color: #dfd3a3; - font-size: 9px -} - - -a:visited { - color: #633525; - font-weight: bold; - text-decoration: none -} - -a:active { - color: #77684d; - font-weight: bold; - text-decoration: none -} - -a:hover { - color: #000000; - text-decoration: underline -} - -div.left { - text-align: left; -} - -div.right { - text-align: right; -} - -div.center { - text-align: center; -} -.style6 { - color: #DFD3A3; - font-size: 9px; -} - -a:link { - font-weight: bold; - color: #5b3e33; - text-decoration: none; -} - -a:hover { - color: #000000; - text-decoration: underline; -} - -a.cite { - display: none -} - -.date { - float: right; - color: #007000; - font-size: 8pt; - margin: 0; - padding: 0; - font-weight: normal; - text-shadow: #b0b0b0 1px 1px 1px; - text-decoration: none; -} - -blockquote, .mBodyBlock .quote { - margin: 5px; - padding: 5px; - font-size: 12px; - font-style: italic; - color: #777; - border: 1px dashed #ccc; - background-color: #F2F0D6; -} diff --git a/css/mi.css b/css/mi.css deleted file mode 100644 index 61cc173..0000000 --- a/css/mi.css +++ /dev/null @@ -1,47 +0,0 @@ -div.ui-dialog.mi-container .ui-dialog-content .oneinput > input { - float: right; - width: 33px; - border-left: none; -} - -div.ui-dialog.mi-container .ui-dialog-content .oneinput div { - padding-right: 35px; -} - -div.ui-dialog.mi-container .ui-dialog-title { - float: none; -} - -div.ui-dialog.mi-container .ui-dialog-content, div.sd-container form.sd-form { - padding: 2px 4px; -} - -div.ui-dialog.mi-container .ui-dialog-content .oneinput div input { - width: 100%; -} - -input, select, textarea, button { - border: solid 1px #b0b0b0; - margin-top: 1px; - margin-bottom: 2px; - font-size: 11px; - color: #191970; -} - -input.text { - font-weight: normal; -} - -.ui-dialog-content { - overflow: visible !important; -} - -.ui-dialog { - overflow: visible !important; -} - -a, a:visited { - font-weight: bold; - color: #003388; - text-decoration: none; -} \ No newline at end of file diff --git a/css/rating.css b/css/rating.css deleted file mode 100644 index da15dcd..0000000 --- a/css/rating.css +++ /dev/null @@ -1,87 +0,0 @@ -BODY { - FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif -} -TD { - FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif -} -OL { - FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif -} -UL { - FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif -} -LI { - FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif -} -P { - FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif -}.inup { - - BORDER-RIGHT: #302F2A 1px double; BORDER-TOP: #302F2A 1px double; FONT-SIZE: 8pt; BORDER-LEFT: #302F2A 1px double; COLOR: #000000; BORDER-BOTTOM: #302F2A 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #DED7BD -} -.text { - FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, Tahoma, sans-serif -} -H3 { - FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #8f0000; FONT-FAMILY: Arial; TEXT-ALIGN: center -} -H4 { - FONT-WEIGHT: bold; FONT-SIZE: 11pt; MARGIN-BOTTOM: 5px; COLOR: #8f0000; FONT-FAMILY: Arial -} -A:link { - FONT-WEIGHT: normal; COLOR: #524936; TEXT-DECORATION: none -} -A:visited { - FONT-WEIGHT: normal; COLOR: #633525; TEXT-DECORATION: none -} -A:active { - FONT-WEIGHT: normal; COLOR: #77684d; TEXT-DECORATION: none -} -A:hover { - COLOR: #68727B; TEXT-DECORATION: underline -} -.date { - FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #007000; FONT-FAMILY: Courier; TEXT-DECORATION: none -} -.dsc { - FONT-WEIGHT: normal; COLOR: #606060 -} -SELECT { - BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif -} -TEXTAREA { - BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif -} -INPUT { - BORDER-RIGHT: #b0b0b0 1pt solid; BORDER-TOP: #b0b0b0 1pt solid; MARGIN-TOP: 1px; FONT-SIZE: 10px; MARGIN-BOTTOM: 2px; BORDER-LEFT: #b0b0b0 1pt solid; COLOR: #191970; BORDER-BOTTOM: #b0b0b0 1pt solid; FONT-FAMILY: MS Sans Serif -} -.pagetknum { - PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; COLOR: #6f0000; PADDING-TOP: 0px; TEXT-DECORATION: underline -} -.pagenum A:link { - PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px -} -.pagenum A:visited { - PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px -} -.pagenum A:active { - PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px -} -.pagenum A:hover { - PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 1em; PADDING-TOP: 0px; BACKGROUND-COLOR: white -} -.pleft { - PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 7px; MARGIN: 0px; PADDING-TOP: 3px -} -.pages { - BACKGROUND-COLOR: #ffefbf -} -IMG { - BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px -} -TABLE { - BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px -} -.btn { - BORDER-RIGHT: #817a63 1px double; BORDER-TOP: #817a63 1px double; FONT-SIZE: 7.5pt; BORDER-LEFT: #817a63 1px double; COLOR: #dfddd3; BORDER-BOTTOM: #817a63 1px double; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #2b2b18 -} \ No newline at end of file diff --git a/forum.php b/forum.php index d75805d..ea42594 100644 --- a/forum.php +++ b/forum.php @@ -356,17 +356,15 @@ if (isset($_GET['do']) && $isModerator == true) { Форум - - - +
diff --git a/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png b/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100644 index 5b5dab2..0000000 Binary files a/i/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ diff --git a/i/jquery-ui/ui-bg_flat_100_a5a5a5_40x100.png b/i/jquery-ui/ui-bg_flat_100_a5a5a5_40x100.png deleted file mode 100644 index 14744c9..0000000 Binary files a/i/jquery-ui/ui-bg_flat_100_a5a5a5_40x100.png and /dev/null differ diff --git a/i/jquery-ui/ui-bg_flat_100_c7c7c7_40x100.png b/i/jquery-ui/ui-bg_flat_100_c7c7c7_40x100.png deleted file mode 100644 index 8a17c6a..0000000 Binary files a/i/jquery-ui/ui-bg_flat_100_c7c7c7_40x100.png and /dev/null differ diff --git a/i/jquery-ui/ui-bg_flat_100_ccc3aa_40x100.png b/i/jquery-ui/ui-bg_flat_100_ccc3aa_40x100.png deleted file mode 100644 index 9ffde07..0000000 Binary files a/i/jquery-ui/ui-bg_flat_100_ccc3aa_40x100.png and /dev/null differ diff --git a/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png b/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png deleted file mode 100644 index bc45614..0000000 Binary files a/i/jquery-ui/ui-bg_flat_100_e0dfe3_40x100.png and /dev/null differ diff --git a/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png b/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png deleted file mode 100644 index 07eba86..0000000 Binary files a/i/jquery-ui/ui-bg_flat_100_e2e0e0_40x100.png and /dev/null differ diff --git a/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png b/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png deleted file mode 100644 index 859c29c..0000000 Binary files a/i/jquery-ui/ui-bg_flat_100_fff6dd_40x100.png and /dev/null differ diff --git a/i/jquery-ui/ui-icons_000000_256x240.png b/i/jquery-ui/ui-icons_000000_256x240.png deleted file mode 100644 index 94294d6..0000000 Binary files a/i/jquery-ui/ui-icons_000000_256x240.png and /dev/null differ diff --git a/i/jquery-ui/ui-icons_cd0a0a_256x240.png b/i/jquery-ui/ui-icons_cd0a0a_256x240.png deleted file mode 100644 index 48fe8c5..0000000 Binary files a/i/jquery-ui/ui-icons_cd0a0a_256x240.png and /dev/null differ diff --git a/js/contact.js b/js/contact.js deleted file mode 100644 index a597a5b..0000000 --- a/js/contact.js +++ /dev/null @@ -1,145 +0,0 @@ -jQuery(function ($) { - var contact = { - message: null, - init: function () { - $('a.contact').click(function (e) { - e.preventDefault(); - - // load the contact form using ajax - var act = $(this).attr('id'); - var page = $('div.page').attr('id'); - $.get("data/contact.php?act=edit&fid="+act+"", function(data){ - // create a modal dialog with the data - $(data).modal({ - closeHTML: "x", - position: ["15%",], - overlayId: 'contact-overlay', - containerId: 'contact-container', - onOpen: contact.open, - onShow: contact.show, - onClose: contact.close - }); - }); - }); - }, - open: function (dialog) { - // dynamically determine height - var h = 480; - if ($('#contact-subject').length) { - h += 26; - } - if ($('#contact-cc').length) { - h += 22; - } - - var title = $('#contact-container .contact-title').html(); - $('#contact-container .contact-title').html('Открытие...'); - dialog.overlay.fadeIn(200, function () { - dialog.container.fadeIn(200, function () { - dialog.data.fadeIn(200, function () { - $('#contact-container .contact-content').animate({ - height: h - }, function () { - $('#contact-container .contact-title').html(title); - $('#contact-container form').fadeIn(200, function () { - $('#contact-container #contact-name').focus(); - - $('#contact-container .contact-cc').click(function () { - var cc = $('#contact-container #contact-cc'); - cc.is(':checked') ? cc.attr('checked', '') : cc.attr('checked', 'checked'); - }); - }); - }); - }); - }); - }); - }, - show: function (dialog) { - $('#contact-container .contact-send').click(function (e) { - e.preventDefault(); - // validate form - if (contact.validate()) { - var msg = $('#contact-container .contact-message'); - msg.fadeOut(function () { - msg.removeClass('contact-error').empty(); - }); - $('#contact-container .contact-title').html('Обработка...'); - $('#contact-container form').fadeOut(200); - $('#contact-container .contact-content').animate({ - height: '80px' - }, function () { - $('#contact-container .contact-loading').fadeIn(200, function () { - $.ajax({ - url: 'data/contact.php', - data: $('#contact-container form').serialize() + '&act=send', - type: 'GET', - cache: false, - dataType: 'html', - success: function (data) { - $('#contact-container .contact-loading').fadeOut(200, function () { - $('#contact-container .contact-title').html('Успешно ...'); - msg.html(data).fadeIn(200); - }); - }, - error: contact.error - }); - }); - }); - } - else { - if ($('#contact-container .contact-message:visible').length > 0) { - var msg = $('#contact-container .contact-message div'); - msg.fadeOut(200, function () { - msg.empty(); - contact.showError(); - msg.fadeIn(200); - }); - } - else { - $('#contact-container .contact-message').animate({ - height: '30px' - }, contact.showError); - } - - } - }); - }, - close: function (dialog) { - $('#contact-container .contact-message').fadeOut(); - $('#contact-container .contact-title').html('Закрываю...'); - $('#contact-container form').fadeOut(200); - $('#contact-container .contact-content').animate({ - height: 40 - }, function () { - dialog.data.fadeOut(200, function () { - dialog.container.fadeOut(200, function () { - dialog.overlay.fadeOut(200, function () { - $.modal.close(); - }); - }); - }); - }); - }, - error: function (xhr) { - alert(xhr.statusText); - }, - validate: function () { - contact.message = ''; - if (!$('#contact-container #contact-message').val()) { - contact.message += 'Введите сообщение.'; - } - - if (contact.message.length > 0) { - return false; - } else { - return true; - } - }, - showError: function () { - $('#contact-container .contact-message').html($('
').append(contact.message)).fadeIn(200); - } - }; - - contact.init(); - -}); \ No newline at end of file diff --git a/js/mi.js b/js/mi.js deleted file mode 100644 index de7b11b..0000000 --- a/js/mi.js +++ /dev/null @@ -1,145 +0,0 @@ -function extend(Child, Parent) { - var F = function() { } - F.prototype = Parent.prototype - Child.prototype = new F() - Child.prototype.constructor = Child - Child.superclass = Parent.prototype -} - -function MagicInput(options, data, callback) { - this.data = data; - this.options = options; - this._callback = callback; -} - -MagicInput.prototype.toString = function() { - return 'This is MagicInput object'; -} - -MagicInput.prototype.callback = function() { - this._callback.apply(this, arguments); -} - -MagicInput.instance = function(el, data, callback) { - el = $(el); - var options = {}; - options['action'] = el.attr('mi-action'); - options['title'] = el.attr('mi-title'); - options['iface'] = el.attr('mi-iface'); - options['data'] = el.attr('mi-data'); - try { - $.extend(data, options.data ? $.parseJSON(options.data) : {}); - delete options.data; - options.iface = 'mi' + options.iface.substring(0, 1).toUpperCase() + options.iface.substring(1); - return input = new window[options.iface](options, data, callback); - } catch(e) { - console.log('MagicInput::instance ' + e); - throw e; - } -} - -function miNone(options, callback) { - miNote.superclass.constructor.apply(this, arguments); - this.callback(); -} -extend(miNone, MagicInput); - -miNone.prototype.toString = function() { - return 'This is miNone object'; -} - -function miNote(options, callback) { - miNote.superclass.constructor.apply(this, arguments); - if(confirm('Использовать "'+this.options.title+'" сейчас?')) { - this.callback() - } -} -extend(miNote, MagicInput); - -miNote.prototype.toString = function() { - return 'This is miNote object'; -} - -function miDialog(options, data, callback, content, dialogOptions) { - miDialog.superclass.constructor.apply(this, arguments); - var mi = this; - this.dialog = content.dialog($.extend({}, { - title: this.options.title, - resizable: false, - minHeight: 20, - dialogClass: 'sand-style mi-container', - beforeClose: function(e, ui) { - var tmp = true; - if(1 * $(this).attr('submit')) { - mi._collect.call(mi); - if(tmp = mi._validation.call(mi)) { - return true; - } - } - $(this).attr('submit', 0); - return tmp; - }, - close: function(e, ui) { - if(1 * $(this).attr('submit')) { - mi.callback(); - } - mi.destroy(); - } - }, dialogOptions)).on('click','.dialog-submit',function() { $(this).closest('.ui-dialog-content').attr('submit', 1).dialog('close')}) -} - -extend(miDialog, MagicInput); - -miDialog.prototype.toString = function() { - return 'This is ABSTRACT miDialog object'; -} - -miDialog.prototype.destroy = function() { - this.dialog.dialog('destroy').remove(); -} - -miDialog._oneInput = function(p) { - var i = $('').attr('name', p.name); - if(p.grabber) { - h[p.grabber].set(i); - } else { - i.select(); - } - return $('
').append('').append($('
').append(i)); -} - -miDialog._hiddenInput = function(p) { - var i = $('').attr('name', p.name).attr('value', p.value); - if(p.grabber) { - h[p.grabber].set(i); - } else { - i.select(); - } - return $('
').append($('
').append(i)); -} - -miDialog._simpleInput = function(p) { - var i = $('').attr('name', p.name); - if(p.grabber) { - h[p.grabber].set(i); - } else { - i.select(); - } - return $('
').append($('
').append(i)); -} - -miDialog.prototype._collect = function() { - var mi = this; - this.dialog.find('[name]').each(function() { - var el = $(this); - if(el.is('input[type="checkbox"]')) { - mi.data[el.attr('name')] = ~~el.is(':checked'); - return; - } - mi.data[el.attr('name')] = el.val(); - }) -} - -miDialog.prototype._validation = function() { - return true; -} \ No newline at end of file diff --git a/main.php b/main.php index ffae1cf..825c0c7 100644 --- a/main.php +++ b/main.php @@ -1629,13 +1629,10 @@ if (input::get('edit')) { - - - - - -