Anonymous avatar Anonymous committed 03e8115

firstupload

Comments (0)

Files changed (527)

+kill `ps aux|ack "beansdb\s"|awk '{print $2}'`
+cd /ndist1/
+beansdb -d -H kanrss_db/ -T 2 -p 7900
+
+cd /ndist2/
+beansdb -d -H kanrss_db/ -T 2 -p 7901
+killall beansdb
+cd /home/mimi
+beansdb -d -H kanrss_db/ -T 2 -p 7900
+
+#!/usr/bin/env python
+def start(port):
+    from myconf import local_config
+    local_config.ORG_CSS_JS = True
+    local_config.MAKO_FILESYSTEM_CHECK = True
+    local_config.SERVER_STATIC_FILE = True
+    local_config.DEBUG = True
+    local_config.THREAD_SAFE = True
+    try:
+        import simple_server
+    except:
+        import traceback
+        traceback.print_exc()
+        reload(simple_server)
+    else:
+        try:
+            simple_server.run(port)
+        except:
+            import traceback
+            traceback.print_exc()
+
+from time import sleep
+from mypy.reload_server import auto_reload
+import sys
+if __name__ == "__main__":
+    import sys
+    if len(sys.argv) > 1 and sys.argv[1].isdigit():
+        port = int(sys.argv[1])
+    else:
+        port = 51880
+    while 1:
+        def run():
+            start(port)
+        auto_reload(run)
+        print "\nSleep 4 seconds"
+        for i in xrange(10, 0, -1):
+            sleep(0.4)
+            print i,
+        print ""
+#!/usr/bin/env python
+
+import sys
+reload(sys)
+sys.setdefaultencoding("utf-8")
+from os.path import abspath, dirname, join, normpath
+
+PREFIX = normpath(dirname(abspath(__file__)))
+import platform
+if platform.system() == "Linux":
+    import os
+    os.environ['PYTHON_EGG_CACHE'] = join(PREFIX, "tmp/.egg")
+
+from mysite.model.kvfs import fs_get, fs_set, fs_rm
+try:
+    from mypy.tornado.wsgiserver import WSGIServer as WSGIServer
+except ImportError:
+    print "import tornado.wsgiserver FAILED , USE CherryPyWSGIServer INSTEAD"
+    from mypy.wsgiserver import CherryPyWSGIServer as WSGIServer
+
+from mimetypes import guess_type
+
+#fs_set("x/1.jpg", open("1.jpg", "rb").read())
+#fs_rm("x/1.jpg")
+#print fs_get("x/1.jpg")
+
+def application(environ, start_response):
+    path = environ.get("PATH_INFO")
+    path = path[4:] #/fs/
+    body = fs_get(path)
+    if body is None:
+        body = "404 Not Found"
+        state = "404 NOT FOUND"
+        mine = "text/html"
+    else:
+        state = "200 OK"
+        mine, encoding = guess_type(path)
+        mine = mine or "text/html"
+
+    response_headers = [
+        ("Content-type", mine),
+        ("Content-length", str(len(body)) ),
+    ]
+    start_response(state, response_headers)
+    return [body, ]
+
+
+def run(port):
+    print "server on port %s"%port
+    server = WSGIServer(port, application)
+    server.start()
+
+if __name__ == "__main__":
+    import sys
+    if len(sys.argv) > 1 and sys.argv[1].isdigit():
+        port = int(sys.argv[1])
+    else:
+        port = 7080
+    run(port=port)

gae/rssfind/_multiprocessing.py

+
+# Quickfix for the missing module in the Google App Engine using Python 2.6.
+#
+# Koen Bollen <meneer koenbollen nl>
+# 2009 GPL
+
+import multiprocessing
+
+
+# vim: expandtab shiftwidth=4 softtabstop=4 textwidth=79:
+

gae/rssfind/app.yaml

+application: rssfind
+version: 1
+runtime: python
+api_version: 1
+
+handlers:
+
+- url: /.*
+  script: server.py

gae/rssfind/server.py

+from google.appengine.ext import webapp
+from google.appengine.ext.webapp.util import run_wsgi_app
+from base64 import urlsafe_b64decode
+import bz2
+from google.appengine.api import urlfetch
+
+class MainPage(webapp.RequestHandler):
+    def post(self):
+        url = self.request.body
+        url = urlsafe_b64decode(url)
+        body = urlfetch.fetch(url)
+        body = body.content
+        body = bz2.compress(body)
+        self.response.out.write(body)
+
+application = webapp.WSGIApplication(
+    [('/', MainPage)],
+    debug=True
+)
+
+if __name__ == "__main__":
+    run_wsgi_app(application)

gae/rssfind/test.py

+from urllib2 import urlopen
+from base64 import urlsafe_b64encode
+import bz2
+
+PROXY = "http://localhost:8080"
+
+def bz2proxy(url):
+    proxy = PROXY
+    url = urlsafe_b64encode(url)
+    s = urlopen(proxy,url,timeout=100)
+    content = bz2.decompress(s.read())
+    return content
+
+print bz2proxy("http://g.cn")

gae/rssfind/upload.bat

+appcfg.py update .
+#!/usr/bin/env python
+#coding:utf-8
+from myconf import local_config
+local_config.ORG_CSS_JS = True
+local_config.MAKO_FILESYSTEM_CHECK = True
+local_config.SERVER_STATIC_FILE = True
+local_config.DEBUG = True
+local_config.DISABLE_LOCAL_CACHED = True
+local_config.THREAD_SAFE = True
+
+import logging
+import os.path
+import tornado.auth
+import tornado.escape
+import tornado.httpserver
+import tornado.ioloop
+import tornado.options
+from tornado.options import define, options
+
+define("host", default="0.0.0.0", help="run on the given port", type=int)
+define("port", default=7070, help="run on the given port", type=int)
+
+from mysite.god.app import App
+
+def main(port):
+    tornado.options.parse_command_line()
+    http_server = tornado.httpserver.HTTPServer(App())
+    port = port or options.port
+    http_server.listen(port)
+    print "port", port
+    tornado.ioloop.IOLoop.instance().start()
+
+def start(port):
+    import sys
+    reload(sys)
+    sys.setdefaultencoding("utf-8")
+    main(port)
+
+if __name__ == "__main__":
+    import sys
+    from time import sleep
+    from mypy.reload_server import auto_reload
+    import sys
+    if len(sys.argv) > 1 and sys.argv[1].isdigit():
+        port = int(sys.argv[1])
+    else:
+        port = 51885
+    def run():
+        start(port)
+    while 1:
+        auto_reload(run)
+        print "\nSleep 4 seconds"
+        for i in xrange(10, 0, -1):
+            sleep(0.4)
+            print i,
+        print ""
+#coding:utf-8
+import sys
+reload(sys)
+sys.setdefaultencoding("utf-8")
+
+
+from myconf import config
+
+from os.path import join
+from mypy import mypyconfig
+#模板渲染的查找函数
+mypyconfig.LOOKUP = config.MOKOLOOKUP
+
+mypyconfig.FUNC_MODULE_PREFIX_LEN = len("mysite.ctrl.")
+
+
+if config.THREAD_SAFE:
+    import threading
+    mypyconfig.LOCAL = threading.local()
+
+from mypy.route_render import _ROUTE
+from mypy.http_exc import Http404
+from mypy import render
+import mysite.ctrl
+from mysite.ctrl.forward_middleware import forward_middleware
+#初始化url route
+_ROUTE._install(mysite.ctrl, "mysite.ctrl")
+
+
+def application(request):
+    render.LOCAL.request = request
+    uri = request.uri
+    try:
+        try:
+            result = _ROUTE << uri.path
+        except Http404:
+            request.res.status = "404 Not Found"
+            result = "HTTPNotFound: %s"%(uri.path)
+    except Exception:
+        import traceback
+        traceback.print_exc()
+        raise
+    return str(result)
+
+from mypy import profile_middleware
+application = profile_middleware.ProfileMiddleware(application)
+
+
+from mypy.gzip import GzipMiddleware
+application = GzipMiddleware(application)
+
+from mypy.yaro import Yaro, Response
+application = Yaro(application)
+
+application = forward_middleware(application)
+
+try:
+    if config.DEBUG:
+        from weberror.evalexception import EvalException
+        application = EvalException(application, )
+    else:
+        from weberror.errormiddleware import ErrorMiddleware
+        application = ErrorMiddleware(application, debug=True)
+except ImportError:
+    import traceback
+    traceback.print_exc()
+
+from mysite.model import init_db
+
+profile_middleware.PROFILE_FUNC_LIST.append(init_db.mc)
+profile_middleware.PROFILE_FUNC_LIST.append(init_db.SQLSTORE)
+
+

Empty file added.

+#coding:utf-8
+import os
+import platform
+from os.path import abspath, dirname, join, normpath
+import sys
+
+#初始化python的查找路径
+PREFIX = normpath(dirname(dirname(abspath(__file__))))
+if PREFIX not in sys.path:
+    sys.path = [PREFIX] + sys.path
+
+if platform.system() == "Linux":
+    import os
+    os.environ['PYTHON_EGG_CACHE'] = join(PREFIX, "tmp/.egg")
+
+
+SEARCH_DB_PATH = "/home/mimi/search_db"
+
+#https://www.google.com/accounts/ManageDomain
+DOMAIN = "stdyun.com"
+GOOGLE_CONSUMER_SECRET = "xxxx"
+GOOGLE_CONSUMER_REAL_SECRET = "xxxx"
+
+#数据库配置
+DATABASE_CONFIG = None
+
+
+
+#是否使用多线程
+THREAD_SAFE = False
+
+#是否启用在线调试
+DEBUG = True
+
+#是否使用优化过的css,js
+ORG_CSS_JS = True
+
+#是否启用Mako的自动检测模板更新
+MAKO_FILESYSTEM_CHECK = True
+
+#是否python由提供静态文件的服务
+SERVER_STATIC_FILE = True
+
+#静态文件服务器的域名
+FILE_HOST = "http://stdyun.net"
+
+#豆瓣db的文件域名
+BEANSDB_HOST = FILE_HOST
+
+#Javascript文件服务器的域名
+JS_FILE_HOST = ""
+#Memcache的地址
+MEMCACHED_ADDR = None
+#MEMCACHED_ADDR = ["127.0.0.1:11211"]
+
+#是否禁用进程内缓存
+DISABLE_LOCAL_CACHED = False
+
+#系统发信人的邮箱地址和显示名称
+SYS_EMAIL_SENDER = "stdyun@sina.com"
+SYS_EMAIL_SENDER_NAME = "stdyun"
+
+#发信的SMTP服务器,用户名,密码
+SMTP = "smtp.sina.com"
+SMTP_USERNAME = "stdyun"
+SMTP_PASSWORD = "xxxxxx"
+
+
+HASH_SECRET = "sQ0H34M+w1nY9sTjD+DRU3n5" 
+
+YUN_HOST = "127.0.0.1:3306:yun:root:xxxx"
+
+GOOGLE_USERNAME = "PyGtalkRobot"
+GOOGLE_PASSWORD = "PyGtalkRobotByLdmiao"
+
+BEANSDB_CONFIG = {
+    "localhost:7900": range(16),
+    "localhost:7901": range(16),
+}
+
+try:
+    from local_config import *
+#    print MAKO_FILESYSTEM_CHECK,"local"
+except ImportError:
+    print "WARNING : local_config not exist"
+
+if not DATABASE_CONFIG:
+    DATABASE_CONFIG = {
+        "yun": {
+            "master": YUN_HOST,
+            "tables": (
+                "*",
+                "user_follow",
+                "user",
+                "user_ck",
+                "user_email",
+                "user_password",
+                "user_session",
+                "rss_source",
+                "rss_basic",
+                "rss_owner",
+                "rss_user",
+                "rss_gadget",
+                "source_reply",
+                "gadget_source",
+                "gadget",
+                "rss_entry",
+                "user_url",
+                "user_to_bind_rss",
+                "imported_user",
+                "oauth_token",
+                "google_group_topic",
+                "google_group",
+                "mailtask",
+            ),
+        },
+    }
+
+MOKOLOOKUP = dict(
+    directories=join(PREFIX, 'mysite/htm'),
+    module_directory=join(PREFIX, 'tmp/htm'),
+    disable_unicode=True,
+    encoding_errors="ignore",
+    default_filters=['str', 'h'],
+    filesystem_checks=MAKO_FILESYSTEM_CHECK
+)
+
+

myconf/dev.local_config.py

+#coding:utf-8
+
+#发信的SMTP服务器,用户名,密码
+SMTP = "smtp.sina.com"
+SMTP_USERNAME = "23423"
+SMTP_PASSWORD = "12456"
+SYS_EMAIL_SENDER = "zu@sina.com"
+
+#是否启用在线调试
+DEBUG = True
+
+#是否启用Mako的自动检测模板更新
+MAKO_FILESYSTEM_CHECK = True
+
+#是否python由提供静态文件的服务
+SERVER_STATIC_FILE = False
+
+#是否使用原始的css,js
+ORG_CSS_JS = True
+
+#Javascript文件服务器的域名
+JS_FILE_HOST = ""
+FILE_HOST = "http://stdyun.net"
+
+#数据库配置
+YUN_HOST = "127.0.0.1:3306:yun:root:1233621w"
+
+MEMCACHED_ADDR = ("127.0.0.1:11211",)
+
+SYS_EMAIL_SENDER_NAME = "KanRSS"
+
+DOMAIN = "kanrss.com" 
+GOOGLE_CONSUMER_SECRET = "xxx" 
+
+HASH_SECRET = ",s%(5" 
+
+
+GOOGLE_USERNAME = "gaxxxxmo"
+GOOGLE_PASSWORD = "4111114"

myconf/online.local_config.py

+#coding:utf-8
+
+#发信的SMTP服务器,用户名,密码
+SMTP = "127.0.0.1"
+SMTP_USERNAME = "stdyun"
+SMTP_PASSWORD = "12345678"
+
+#是否启用在线调试
+DEBUG = False
+
+#是否启用Mako的自动检测模板更新
+MAKO_FILESYSTEM_CHECK = False
+
+#是否python由提供静态文件的服务
+SERVER_STATIC_FILE = False
+
+#是否使用原始的css,js
+ORG_CSS_JS = False
+
+#Javascript文件服务器的域名
+JS_FILE_HOST = ""
+
+
+#数据库配置
+YUN_HOST = "127.0.0.1:3306:yun:root:123456"
+
+MEMCACHED_ADDR = ("127.0.0.1:11508",)
+
+SYS_EMAIL_SENDER = "stdyun@stdyun.com"
+
+DOMAIN = "stdyun.com" 
+GOOGLE_CONSUMER_SECRET = "123456789"
+CgA
+4f1f288ffd913a3411f57844e03335c0	1	g.css
+141c573d7fa8c495988b912a4f263ba1	1	imgselect.css
+Hc2
+b31148705067f042740beab16f8c5e55	1	jquery.js
+8da16585811c97c2d6b59c46e2056d30	1	popwin.js
+9c4da22b3d736bdb11149aa02929b6ca	3	say.js
+463da19b0829c141e366652e5a82f529	1	place.js
+49f263599016025d39f84c17bd6287c2	1	imgselect.js
+065109c3ab025545d6be0ad5111c6942	1	apply.js
+c918ccda209ddbb8c8eb502751153eb5	5	s.js

Empty file added.

+

myfile/css/.g.css

+body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;*font-family:新宋体}textarea{overflow:auto;font-family:arial,sans-serif;line-height:22px}pre{font-size:16px;word-wrap:break-word;white-space:pre-wrap;overflow:hidden;word-break:break-all;white-space:-moz-pre-wrap}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;line-height:22px}q:before,q:after{content:''}abbr,acronym{border:0}a{text-decoration:none;color:#0033a0}p{margin:6px 0}.c{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}.cl:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}.cl{display:inline-block}* html .cl{height:1%}.cl{display:block}#F{clear:both;padding-bottom:125px}#h{background:url(/pic/png/hbg.png) repeat-x top;clear:both;width:100%;color:#555;height:33px;font-size:12px;margin-bottom:10px;*background:none;*filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/pic/png/hbg.png',sizingMethod='scale')}#hnav{float:right;margin-top:7px}#hnav a{margin:0 5px 0 15px}.C{margin-left:auto;margin-right:auto;width:972px}.g1,.g2,.g3,.g4,.g5,.g6,.g7,.g8,.g9,.g10,.g11,.g12,.g13,.g14,.g15,.g16,.g17,.g18,.g19,.g20,.g21,.g22,.g23,.g24,.g25,.g26,.g27,.g28,.g29,.g30,.g31,.g32,.g33,.g34,.g35,.g36{display:inline;float:left;position:relative;margin-left:3px;margin-right:3px}.a{margin-left:0}.z{margin-right:0}.C .g1{width:21px}.C .g2{width:48px}.C .g3{width:75px}.C .g4{width:102px}.C .g5{width:129px}.C .g6{width:156px}.C .g7{width:183px}.C .g8{width:210px}.C .g9{width:237px}.C .g10{width:264px}.C .g11{width:291px}.C .g12{width:318px}.C .g13{width:345px}.C .g14{width:372px}.C .g15{width:399px}.C .g16{width:426px}.C .g17{width:453px}.C .g18{width:480px}.C .g19{width:507px}.C .g20{width:534px}.C .g21{width:561px}.C .g22{width:588px}.C .g23{width:615px}.C .g24{width:642px}.C .g25{width:669px}.C .g26{width:696px}.C .g27{width:723px}.C .g28{width:750px}.C .g29{width:777px}.C .g30{width:804px}.C .g31{width:831px}.C .g32{width:858px}.C .g33{width:885px}.C .g34{width:912px}.C .g35{width:939px}.C .g36{width:966px}.C .p1{padding-left:27px}.C .p2{padding-left:54px}.C .p3{padding-left:81px}.C .p4{padding-left:108px}.C .p5{padding-left:135px}.C .p6{padding-left:162px}.C .p7{padding-left:189px}.C .p8{padding-left:216px}.C .p9{padding-left:243px}.C .p10{padding-left:270px}.C .p11{padding-left:297px}.C .p12{padding-left:324px}.C .p13{padding-left:351px}.C .p14{padding-left:378px}.C .p15{padding-left:405px}.C .p16{padding-left:432px}.C .p17{padding-left:459px}.C .p18{padding-left:486px}.C .p19{padding-left:513px}.C .p20{padding-left:540px}.C .p21{padding-left:567px}.C .p22{padding-left:594px}.C .p23{padding-left:621px}.C .p24{padding-left:648px}.C .p25{padding-left:675px}.C .p26{padding-left:702px}.C .p27{padding-left:729px}.C .p28{padding-left:756px}.C .p29{padding-left:783px}.C .p30{padding-left:810px}.C .p31{padding-left:837px}.C .p32{padding-left:864px}.C .p33{padding-left:891px}.C .p34{padding-left:918px}.C .p35{padding-left:945px}.C .s1{padding-right:27px}.C .s2{padding-right:54px}.C .s3{padding-right:81px}.C .s4{padding-right:108px}.C .s5{padding-right:135px}.C .s6{padding-right:162px}.C .s7{padding-right:189px}.C .s8{padding-right:216px}.C .s9{padding-right:243px}.C .s10{padding-right:270px}.C .s11{padding-right:297px}.C .s12{padding-right:324px}.C .s13{padding-right:351px}.C .s14{padding-right:378px}.C .s15{padding-right:405px}.C .s16{padding-right:432px}.C .s17{padding-right:459px}.C .s18{padding-right:486px}.C .s19{padding-right:513px}.C .s20{padding-right:540px}.C .s21{padding-right:567px}.C .s22{padding-right:594px}.C .s23{padding-right:621px}.C .s24{padding-right:648px}.C .s25{padding-right:675px}.C .s26{padding-right:702px}.C .s27{padding-right:729px}.C .s28{padding-right:756px}.C .s29{padding-right:783px}.C .s30{padding-right:810px}.C .s31{padding-right:837px}.C .s32{padding-right:864px}.C .s33{padding-right:891px}.C .s34{padding-right:918px}.C .s35{padding-right:945px}.popwin{visibility:hidden;position:fixed;background:#fff;border:1px solid #dfdfff;padding:20px 24px 14px 14px}.popwin_bg{opacity:.06;filter:alpha(opacity=6);position:fixed;background:#00f}.popwin,.popwin_bg{_position:absolute;_top:expression(eval(document.documentElement.scrollTop+(document.documentElement.clientHeight-this.offsetHeight)*.45))!important}.popwin form{padding:0;margin:0;border:1px solid #fff}.popwin_close{text-decoration:none;font-family:"Comic Sans MS",Arial;position:absolute;right:3px;top:0;z-index:1;padding:0 3px;color:#afafff}.popwin_close:hover{color:#f00;border:1px solid #fff}.Ph2{color:#580;margin-top:-12px}#popwin_loading{background:url(/pic/gif/wait.gif) no-repeat 100% 50%;padding-right:24px}.L{float:left}.R{float:right}.tr{text-align:right}.tc{text-align:center}.mt5{margin-top:5px}.mr5{margin-right:5px}.mt10{margin-top:10px}.mt15{margin-top:15px}.mt20{margin-top:20px}.mtb10{margin-top:10px;margin-bottom:10px}.mtb25{margin-top:25px;margin-bottom:25px}.pt15{padding-top:15px}.pd10{padding:10px}.pb75{padding-bottom:75px}.dir{padding:12px 0 0 0;color:#aaa}.dir span.f13c6{margin-left:3px}.dir a span{font-size:14px}.dir a{font-size:12px}.dir span{font-size:13px}.rtime{float:right;margin-left:8px;font-size:12px;color:#999;cursor:default}.tf12{margin-left:12px;color:#666;font-size:12px}.be0{border:1px dashed #e0e0e0}.be0b0{border:1px dashed #e0e0e0;border-bottom:0}.be0b,.be0b0 .be0bt{padding:10px;border-bottom:1px solid #f0f0f0;line-height:26px;cursor:default}.be0b0 .be0bt,.be0b0 .be0b{border-bottom:1px dashed #e0e0e0}.be0b{font-size:14px}.be0t,.be0bt{border-top:1px dashed #e0e0e0}.bbse0{border-bottom:1px dotted #e0e0e0}.c570{color:#570}.f13c6,.f12c6{font-size:12px;color:#666}.f13c6{font-size:13px}.f16c9,.f14c9,.f12c9{font-size:12px;color:#666}.f14c9{font-size:14px}.f16c9{font-size:16px}.c6{color:#666}.c9{color:#999}.f12{font-size:12px}.HideErr .Err{display:none;margin-top:5px;font-size:12px;color:#d30}.Ok{border:1px dotted #CCC;color:#060;margin-bottom:25px;padding:5px;text-align:center}.Bform button{font-size:16px}.Bform select{font-size:16px;margin-left:-6px}.Bform p label{margin-right:10px}.Bform p input{width:286px;font-size:16px}.Bform p{margin-bottom:20px;font-size:14px}.hac{display:none;font-size:12px;margin-left:8px}.bwc{border:1px solid #e0e0e0;border-bottom:0;float:left;background:#fff;padding:5px 0;width:94px;font-size:12px;color:#555;margin-left:4px;text-align:center}.imgs,.picd img,.bwc{-moz-box-shadow:2px 2px 6px #999;box-shadow:2px 2px 6px #999;-webkit-box-shadow:2px 2px 6px #999}.bwc:hover{background:#fafafa}.img96{padding:3px;border:1px #e0e0e0 solid;width:96px;height:96px;background:#fff;-moz-box-shadow:2px 2px 6px #999;box-shadow:2px 2px 6px #999;-webkit-box-shadow:2px 2px 6px #999}.pnav{padding-bottom:3px;position:absolute;border-bottom:1px #e0e0e0 solid;width:100%;left:0;_left:auto}.pnav a:hover{background:#FAFAFA;border-bottom:1px solid #e0e0e0}.pnav a{margin-right:6px;position:relative;padding:5px 13px 4px;color:#666;border:1px solid #e0e0e0;border-bottom:0}.pnav .now{background:#fff;border-bottom:1px #fff solid;color:#333;_border-bottom:2px solid #fff}.atab a{color:#333;font-size:14px;border:2px solid #fff;border-bottom-color:#eee;padding:6px 3px 3px;margin:0 7px}.atab .now{color:#25a;border-bottom-color:#25a}.atab a:hover{background:#F9F9F9;color:#25a;border-color:#cfcfcf #e3e3e3 #e3e3e3 #cfcfcf}.picd{float:left;width:128px;padding:0 10px;font-size:12px;text-align:center;overflow:hidden}.picd140 .picd{width:140px}.imgs,.picd img{padding:3px;border:1px solid #E0E0E0}.ulink .cl{padding:4px 0}.ulink img{float:left;margin-right:3px;margin-top:-1px;width:16px;height:16px}.ext{float:right;color:#6af;font-weight:bold;margin-left:9px;font-family:新宋体}.at .img96{z-index:1;position:relative;float:left}.at h1{height:39px;overflow:hidden;padding-top:10px;font-size:34px;font-family:Georgia,Arial,sans-serif}.atlink{font-size:14px;font-family:Georgia,sans-serif;margin-left:12px}.mf12c3,.mf14c3{color:#333;font-size:12px;margin-left:12px}.mf14c3{font-size:14px}.atimg{width:104px;float:right}.ulcd{padding:5px;border-top:1px #e0e0e0 dashed;font-size:12px;line-height:14px}.ulcm{float:left;margin-right:5px}.ulcb{color:#555;padding-left:59px}.ico48,.ulcm{width:48px;height:48px;padding:2px;border:1px #e0e0e0 dotted}.sayd{text-align:right;font-size:12px}.udo .tf12{line-height:1}.udo .ub{margin-top:20px}.udo .uic{background:#fcfcfc;float:left;padding:2px;border:1px #eee solid;width:48px;height:48px;margin-right:6px}.udo div{line-height:22px}.udo .utxt,.udo .uttt{padding:1px 0 0 5px;line-height:26px;font-size:14px;margin-left:55px}.udo .utxt{border-bottom:1px solid #f0f0f0}.udo .be0b{padding:0;color:#999;font-size:14px;*zoom:1;margin-left:55px;padding-left:5px}.udo h2.c570{margin-top:20px;clear:both}.Page{font-family:georgia,times,serif;font-size:14px;color:#aaa;line-height:150%;text-align:center}.Page a,.Page span{padding:0 4px 1px;color:#369;margin:1px;text-decoration:none}.Page a:hover{text-decoration:underline}.Page span{color:#ccc}.Page .now{background:#33609B;color:#fff}.uico96 .bwc{margin-left:30px;line-height:16px}.uico96 .f12c6{line-height:18px}.uico96 .oln{text-align:center;font-size:14px;margin:3px 0;line-height:22px}.fleft,.fright,.fmid{width:68px;float:left;padding:5px 0}.fmid{width:70px;border:1px #e0e0e0 dashed;border-width:0 1px}.atme{font-size:14px;line-height:26px;padding:10px;border-bottom:1px dashed #e0e0e0}.g8r{float:right;position:relative;margin:8px 0 0;width:210px}.ptxt h2{color:#570;margin-bottom:20px;text-align:center}.ptxt .ex{margin:12px;border:1px dotted #E0E0E0;padding:6px 12px}#boxc{margin-bottom:3px;border:1px solid #e0e0e0;line-height:21px;height:48px;width:748px;overflow:auto}.input{border:1px solid #e0e0e0;font-size:16px;margin-bottom:5px;padding:2px}#boxt{width:744px;display:none}.pnav span{margin-left:3px;font-family:Georgia,"Times New Roman",Times,serif;font-size:11px;font-style:italic}.pnav a{font-family:Verdana,Geneva,sans-serif}.pnavr{float:right}.pnavr a{font-size:12px;margin-right:0;margin-left:6px}.tag span,.tag a{margin-right:5px;font-size:14px;color:#999}.sto a{margin-left:5px}.sbl{padding-left:6px;border-left:2px #f0f0f0 solid}.sbbw{border:1px solid #eee;margin-top:12px}.sbbc{border-top:1px solid #eee;font-size:12px}.sbtag{padding:6px;line-height:20px}.sbtag a{margin-right:8px}.sbbt{padding:4px 6px 3px;color:#570;background:#fcfcfc;font-size:14px}.schw{border:1px solid #eee;padding:10px;margin-top:20px;margin-bottom:5px;background:url(/pic/gif/nbg.gif) repeat-x scroll 100% 100%;text-align:center}#finds{vertical-align:middle;font-size:14px;width:78px;height:28px;line-height:24px}#findq{border:1px solid #e0e0e0;width:500px;font-size:16px;padding:3px;vertical-align:middle;margin-right:6px}.elk img,.ico{height:16px;width:16px;float:left;margin-top:3px;margin-right:6px}

myfile/css/.imgselect.css

+.imgareaselect-border1,.imgareaselect-border2,.imgareaselect-border3,.imgareaselect-border4{opacity:.5;filter:alpha(opacity=50)}.imgareaselect-border1{border:solid 1px #000}.imgareaselect-border2{border:dashed 1px #fff}.imgareaselect-handle{background-color:#fff;border:solid 1px #000;opacity:.5;filter:alpha(opacity=50)}.imgareaselect-outer{background-color:#000;opacity:.4;filter:alpha(opacity=40)}.imgareaselect-selection{background-color:#fff;opacity:0;filter:alpha(opacity=0)}

myfile/css/.s.css

+.dir{padding:12px 0 0 0;color:#aaa}.dir span.f13c6{margin-left:3px}.dir a span{font-size:14px}.dir a{font-size:12px}.dir span{font-size:13px}.rtime{float:right;margin-left:8px;font-size:12px;color:#999;cursor:default}.tf12{margin-left:12px;color:#666;font-size:12px}.be0{border:1px dashed #e0e0e0}.be0b0{border:1px dashed #e0e0e0;border-bottom:0}.be0b,.be0b0 .be0bt{padding:10px;border-bottom:1px solid #f0f0f0;line-height:26px;cursor:default}.be0b0 .be0bt,.be0b0 .be0b{border-bottom:1px dashed #e0e0e0}.be0b{font-size:14px}.be0t,.be0bt{border-top:1px dashed #e0e0e0}.bbse0{border-bottom:1px dotted #e0e0e0}.c570{color:#570}.f13c6,.f12c6{font-size:12px;color:#666}.f13c6{font-size:13px}.f16c9,.f14c9,.f12c9{font-size:12px;color:#666}.f14c9{font-size:14px}.f16c9{font-size:16px}.c6{color:#666}.c9{color:#999}.f12{font-size:12px}.HideErr .Err{display:none;margin-top:5px;font-size:12px;color:#d30}.Ok{border:1px dotted #CCC;color:#060;margin-bottom:25px;padding:5px;text-align:center}.Bform button{font-size:16px}.Bform select{font-size:16px;margin-left:-6px}.Bform p label{margin-right:10px}.Bform p input{width:286px;font-size:16px}.Bform p{margin-bottom:20px;font-size:14px}.hac{display:none;font-size:12px;margin-left:8px}.bwc{border:1px solid #e0e0e0;border-bottom:0;float:left;background:#fff;padding:5px 0;width:94px;font-size:12px;color:#555;margin-left:4px;text-align:center}.imgs,.picd img,.bwc{-moz-box-shadow:2px 2px 6px #999;box-shadow:2px 2px 6px #999;-webkit-box-shadow:2px 2px 6px #999}.bwc:hover{background:#fafafa}.img96{padding:3px;border:1px #e0e0e0 solid;width:96px;height:96px;background:#fff;-moz-box-shadow:2px 2px 6px #999;box-shadow:2px 2px 6px #999;-webkit-box-shadow:2px 2px 6px #999}.pnav{padding-bottom:3px;position:absolute;border-bottom:1px #e0e0e0 solid;width:100%;left:0;_left:auto}.pnav a:hover{background:#FAFAFA;border-bottom:1px solid #e0e0e0}.pnav a{margin-right:6px;position:relative;padding:5px 13px 4px;color:#666;border:1px solid #e0e0e0;border-bottom:0}.pnav .now{background:#fff;border-bottom:1px #fff solid;color:#333;_border-bottom:2px solid #fff}.atab a{color:#333;font-size:14px;border:2px solid #fff;border-bottom-color:#eee;padding:6px 3px 3px;margin:0 7px}.atab .now{color:#25a;border-bottom-color:#25a}.atab a:hover{background:#F9F9F9;color:#25a;border-color:#cfcfcf #e3e3e3 #e3e3e3 #cfcfcf}.picd{float:left;width:128px;padding:0 10px;font-size:12px;text-align:center;overflow:hidden}.picd140 .picd{width:140px}.imgs,.picd img{padding:3px;border:1px solid #E0E0E0}.ulink .cl{padding:4px 0}.ulink img{float:left;margin-right:3px;margin-top:-1px;width:16px;height:16px}.ext{float:right;color:#6af;font-weight:bold;margin-left:9px;font-family:新宋体}.at .img96{z-index:1;position:relative;float:left}.at h1{height:39px;overflow:hidden;padding-top:10px;font-size:34px;font-family:Georgia,Arial,sans-serif}.atlink{font-size:14px;font-family:Georgia,sans-serif;margin-left:12px}.mf12c3,.mf14c3{color:#333;font-size:12px;margin-left:12px}.mf14c3{font-size:14px}.atimg{width:104px;float:right}.ulcd{padding:5px;border-top:1px #e0e0e0 dashed;font-size:12px;line-height:14px}.ulcm{float:left;margin-right:5px}.ulcb{color:#555;padding-left:59px}.ico48,.ulcm{width:48px;height:48px;padding:2px;border:1px #e0e0e0 dotted}.sayd{text-align:right;font-size:12px}.udo .tf12{line-height:1}.udo .ub{margin-top:20px}.udo .uic{background:#fcfcfc;float:left;padding:2px;border:1px #eee solid;width:48px;height:48px;margin-right:6px}.udo div{line-height:22px}.udo .utxt,.udo .uttt{padding:1px 0 0 5px;line-height:26px;font-size:14px;margin-left:55px}.udo .utxt{border-bottom:1px solid #f0f0f0}.udo .be0b{padding:0;color:#999;font-size:14px;*zoom:1;margin-left:55px;padding-left:5px}.udo h2.c570{margin-top:20px;clear:both}.Page{font-family:georgia,times,serif;font-size:14px;color:#aaa;line-height:150%;text-align:center}.Page a,.Page span{padding:0 4px 1px;color:#369;margin:1px;text-decoration:none}.Page a:hover{text-decoration:underline}.Page span{color:#ccc}.Page .now{background:#33609B;color:#fff}.uico96 .bwc{margin-left:30px;line-height:16px}.uico96 .f12c6{line-height:18px}.uico96 .oln{text-align:center;font-size:14px;margin:3px 0;line-height:22px}.fleft,.fright,.fmid{width:68px;float:left;padding:5px 0}.fmid{width:70px;border:1px #e0e0e0 dashed;border-width:0 1px}.atme{font-size:14px;line-height:26px;padding:10px;border-bottom:1px dashed #e0e0e0}.g8r{float:right;position:relative;margin:8px 0 0;width:210px}.ptxt h2{color:#570;margin-bottom:20px;text-align:center}.ptxt .ex{margin:12px;border:1px dotted #E0E0E0;padding:6px 12px}#boxc{margin-bottom:3px;border:1px solid #e0e0e0;line-height:21px;height:48px;width:748px;overflow:auto}.input{border:1px solid #e0e0e0;font-size:16px;margin-bottom:5px;padding:2px}#boxt{width:744px;display:none}.pnav span{margin-left:3px;font-family:Georgia,"Times New Roman",Times,serif;font-size:11px;font-style:italic}.pnav a{font-family:Verdana,Geneva,sans-serif}.pnavr{float:right}.pnavr a{font-size:12px;margin-right:0;margin-left:6px}.tag span,.tag a{margin-right:5px;font-size:14px;color:#999}.sto a{margin-left:5px}.sbl{padding-left:6px;border-left:2px #f0f0f0 solid}.sbbw{border:1px solid #eee;margin-top:12px}.sbbc{border-top:1px solid #eee;font-size:12px}.sbtag{padding:6px;line-height:20px}.sbtag a{margin-right:8px}.sbbt{padding:4px 6px 3px;color:#570;background:#fcfcfc;font-size:14px}.schw{border:1px solid #eee;padding:10px;margin-top:20px;margin-bottom:5px;background:url(/pic/gif/nbg.gif) repeat-x scroll 100% 100%;text-align:center}#finds{vertical-align:middle;font-size:14px;width:78px;height:28px;line-height:24px}#findq{border:1px solid #e0e0e0;width:500px;font-size:16px;padding:3px;vertical-align:middle;margin-right:6px}.elk img,.ico{height:16px;width:16px;float:left;margin-top:3px;margin-right:6px}

myfile/css/__init__.py

+#coding:utf-8
+
+
+try:
+    from myconf.config import ORG_CSS_JS
+except:
+    ORG_CSS_JS = False
+
+try:
+    from myconf.config import FILE_HOST
+except:
+    FILE_HOST = ""
+
+if ORG_CSS_JS:
+
+    g = "/css/g.css"
+
+    imgselect = "/css/imgselect.css"
+
+else:
+
+    g = "%s/css/CgAAQ~g.css"%FILE_HOST
+
+    imgselect = "%s/css/CgAAQ~imgselect.css"%FILE_HOST
+body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
+    margin:0;
+    padding:0;
+    *font-family:新宋体;
+}
+textarea{overflow:auto;font-family:arial,sans-serif;line-height:22px}
+pre{
+font-size:16px;
+word-wrap:break-word;white-space:pre-wrap;
+overflow:hidden;word-break:break-all;
+white-space:-moz-pre-wrap;
+}
+table {
+    border-collapse:collapse;
+    border-spacing:0;
+}
+fieldset,img { 
+    border:0;
+}
+address,caption,cite,code,dfn,em,strong,th,var {
+    font-style:normal;
+    font-weight:normal;
+}
+ul {
+    list-style:none;
+}
+caption,th {
+    text-align:left;
+}
+h1,h2,h3,h4,h5,h6 {
+    font-size:100%;
+    font-weight:normal;
+    line-height:22px;
+}
+q:before,q:after {
+    content:'';
+}
+abbr,acronym { border:0;
+}
+
+a{text-decoration:none;color:#0033a0}
+p{margin:6px 0;}
+
+
+.c{
+	clear: both;
+	display: block;
+	overflow: hidden;
+	visibility: hidden;
+	width: 0;
+	height: 0;
+}
+
+.cl:after{
+	clear: both;
+	content: ' ';
+	display: block;
+	font-size: 0;
+	line-height: 0;
+	visibility: hidden;
+	width: 0;
+	height: 0;
+}
+
+.cl{
+	display: inline-block;
+}
+
+* html .cl{
+	height: 1%;
+}
+
+.cl{
+	display: block;
+}
+/*头部样式*/
+#F{clear:both;padding-bottom:125px}
+#h{
+background:url(/pic/png/hbg.png) repeat-x top;
+clear:both;width:100%;color:#555;
+height:33px;
+font-size:12px;
+margin-bottom:10px;
+*background:none;
+*filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/pic/png/hbg.png',sizingMethod='scale');
+}
+
+#hnav{
+float:right;margin-top:7px;
+}
+#hnav a{
+margin:0 5px 0 15px;
+}
+
+
+
+
+/* Containers
+----------------------------------------------------------------------------------------------------*/
+.C {
+	margin-left: auto;
+	margin-right: auto;
+	width: 972px;
+}
+
+/* Grid >> Global
+----------------------------------------------------------------------------------------------------*/
+
+.g1,
+.g2,
+.g3,
+.g4,
+.g5,
+.g6,
+.g7,
+.g8,
+.g9,
+.g10,
+.g11,
+.g12,
+.g13,
+.g14,
+.g15,
+.g16,
+.g17,
+.g18,
+.g19,
+.g20,
+.g21,
+.g22,
+.g23,
+.g24,
+.g25,
+.g26,
+.g27,
+.g28,
+.g29,
+.g30,
+.g31,
+.g32,
+.g33,
+.g34,
+.g35,
+.g36 {
+	display:inline;
+	float: left;
+	position: relative;
+	margin-left: 3px;
+	margin-right: 3px;
+}
+
+/* Grid >> Children (Alpha ~ First, Omega ~ Last)
+----------------------------------------------------------------------------------------------------*/
+
+.a {
+	margin-left: 0;
+}
+
+.z {
+	margin-right: 0;
+}
+
+/* Grid >> 36 Columns
+----------------------------------------------------------------------------------------------------*/
+
+.C .g1 {
+	width:21px;
+}
+
+.C .g2 {
+	width:48px;
+}
+
+.C .g3 {
+	width:75px;
+}
+
+.C .g4 {
+	width:102px;
+}
+
+.C .g5 {
+	width:129px;
+}
+
+.C .g6 {
+	width:156px;
+}
+
+.C .g7 {
+	width:183px;
+}
+
+.C .g8 {
+	width:210px;
+}
+
+.C .g9 {
+	width:237px;
+}
+
+.C .g10 {
+	width:264px;
+}
+
+.C .g11 {
+	width:291px;
+}
+
+.C .g12 {
+	width:318px;
+}
+
+.C .g13 {
+	width:345px;
+}
+
+.C .g14 {
+	width:372px;
+}
+
+.C .g15 {
+	width:399px;
+}
+
+.C .g16 {
+	width:426px;
+}
+
+.C .g17 {
+	width:453px;
+}
+
+.C .g18 {
+	width:480px;
+}
+
+.C .g19 {
+	width:507px;
+}
+
+.C .g20 {
+	width:534px;
+}
+
+.C .g21 {
+	width:561px;
+}
+
+.C .g22 {
+	width:588px;
+}
+
+.C .g23 {
+	width:615px;
+}
+
+.C .g24 {
+	width:642px;
+}
+
+.C .g25 {
+	width:669px;
+}
+
+.C .g26 {
+	width:696px;
+}
+
+.C .g27 {
+	width:723px;
+}
+
+.C .g28 {
+	width:750px;
+}
+
+.C .g29 {
+	width:777px;
+}
+
+.C .g30 {
+	width:804px;
+}
+
+.C .g31 {
+	width:831px;
+}
+
+.C .g32 {
+	width:858px;
+}
+
+.C .g33 {
+	width:885px;
+}
+
+.C .g34 {
+	width:912px;
+}
+
+.C .g35 {
+	width:939px;
+}
+
+.C .g36 {
+	width:966px;
+}
+
+
+
+/* Prefix Extra Space >> 36 Columns
+----------------------------------------------------------------------------------------------------*/
+
+.C .p1 {
+	padding-left:27px;
+}
+
+.C .p2 {
+	padding-left:54px;
+}
+
+.C .p3 {
+	padding-left:81px;
+}
+
+.C .p4 {
+	padding-left:108px;
+}
+
+.C .p5 {
+	padding-left:135px;
+}
+
+.C .p6 {
+	padding-left:162px;
+}
+
+.C .p7 {
+	padding-left:189px;
+}
+
+.C .p8 {
+	padding-left:216px;
+}
+
+.C .p9 {
+	padding-left:243px;
+}
+
+.C .p10 {
+	padding-left:270px;
+}
+
+.C .p11 {
+	padding-left:297px;
+}
+
+.C .p12 {
+	padding-left:324px;
+}
+
+.C .p13 {
+	padding-left:351px;
+}
+
+.C .p14 {
+	padding-left:378px;
+}
+
+.C .p15 {
+	padding-left:405px;
+}
+
+.C .p16 {
+	padding-left:432px;
+}
+
+.C .p17 {
+	padding-left:459px;
+}
+
+.C .p18 {
+	padding-left:486px;
+}
+
+.C .p19 {
+	padding-left:513px;
+}
+
+.C .p20 {
+	padding-left:540px;
+}
+
+.C .p21 {
+	padding-left:567px;
+}
+
+.C .p22 {
+	padding-left:594px;
+}
+
+.C .p23 {
+	padding-left:621px;
+}
+
+.C .p24 {
+	padding-left:648px;
+}
+
+.C .p25 {
+	padding-left:675px;
+}
+
+.C .p26 {
+	padding-left:702px;
+}
+
+.C .p27 {
+	padding-left:729px;
+}
+
+.C .p28 {
+	padding-left:756px;
+}
+
+.C .p29 {
+	padding-left:783px;
+}
+
+.C .p30 {
+	padding-left:810px;
+}
+
+.C .p31 {
+	padding-left:837px;
+}
+
+.C .p32 {
+	padding-left:864px;
+}
+
+.C .p33 {
+	padding-left:891px;
+}
+
+.C .p34 {
+	padding-left:918px;
+}
+
+.C .p35 {
+	padding-left:945px;
+}
+
+
+
+/* Suffix Extra Space >> 36 Columns
+----------------------------------------------------------------------------------------------------*/
+
+.C .s1 {
+	padding-right:27px;
+}
+
+.C .s2 {
+	padding-right:54px;
+}
+
+.C .s3 {
+	padding-right:81px;
+}
+
+.C .s4 {
+	padding-right:108px;
+}
+
+.C .s5 {
+	padding-right:135px;
+}
+
+.C .s6 {
+	padding-right:162px;
+}
+
+.C .s7 {
+	padding-right:189px;
+}
+
+.C .s8 {
+	padding-right:216px;
+}
+
+.C .s9 {
+	padding-right:243px;
+}
+
+.C .s10 {
+	padding-right:270px;
+}
+
+.C .s11 {
+	padding-right:297px;
+}
+
+.C .s12 {
+	padding-right:324px;
+}
+
+.C .s13 {
+	padding-right:351px;
+}
+
+.C .s14 {
+	padding-right:378px;
+}
+
+.C .s15 {
+	padding-right:405px;
+}
+
+.C .s16 {
+	padding-right:432px;
+}
+
+.C .s17 {
+	padding-right:459px;
+}
+
+.C .s18 {
+	padding-right:486px;
+}
+
+.C .s19 {
+	padding-right:513px;
+}
+
+.C .s20 {
+	padding-right:540px;
+}
+
+.C .s21 {
+	padding-right:567px;
+}
+
+.C .s22 {
+	padding-right:594px;
+}
+
+.C .s23 {
+	padding-right:621px;
+}
+
+.C .s24 {
+	padding-right:648px;
+}
+
+.C .s25 {
+	padding-right:675px;
+}
+
+.C .s26 {
+	padding-right:702px;
+}
+
+.C .s27 {
+	padding-right:729px;
+}
+
+.C .s28 {
+	padding-right:756px;
+}
+
+.C .s29 {
+	padding-right:783px;
+}
+
+.C .s30 {
+	padding-right:810px;
+}
+
+.C .s31 {
+	padding-right:837px;
+}
+
+.C .s32 {
+	padding-right:864px;
+}
+
+.C .s33 {
+	padding-right:891px;
+}
+
+.C .s34 {
+	padding-right:918px;
+}
+
+.C .s35 {
+	padding-right:945px;
+}
+
+/* 内弹开始 */
+.popwin{
+visibility:hidden;
+position: fixed;
+background:#fff;
+border:1px solid #dfdfff;
+padding:20px 24px 14px 14px;
+}
+.popwin_bg{
+opacity:.06;
+filter:alpha(opacity=6);
+position: fixed;
+background:#00f;
+}
+.popwin,.popwin_bg{
+_position:absolute;
+_top:expression(eval(document.documentElement.scrollTop+(document.documentElement.clientHeight-this.offsetHeight)*.45))!important;
+}
+.popwin form{
+padding:0;margin:0;border:1px solid #fff;
+}
+.popwin_close{
+text-decoration:none;
+font-family:"Comic Sans MS",Arial;position:absolute;right:3px;top:0;z-index:1;padding:0 3px;color:#afafff;}
+.popwin_close:hover{
+color:#f00;
+border:1px solid #fff;
+}
+.Ph2{color:#580;margin-top:-12px;}
+#popwin_loading{background:url(/pic/gif/wait.gif) no-repeat 100% 50%;padding-right:24px}
+/* 内弹结束 */
+.L{float:left}
+.R{float:right}
+.tr{text-align:right}
+.tc{text-align:center}
+
+
+.mt5{margin-top:5px}
+.mr5{margin-right:5px}
+.mt10{margin-top:10px}
+.mt15{margin-top:15px}
+.mt20{margin-top:20px}
+.mtb10{margin-top:10px;margin-bottom:10px}
+.mtb25{margin-top:25px;margin-bottom:25px}
+.pt15{padding-top:15px}
+.pd10{padding:10px}
+.pb75{padding-bottom:75px;}
+
+.dir{
+padding:12px 0 0 0;
+color:#aaa;
+}
+.dir span.f13c6{margin-left:3px}
+.dir a span{font-size:14px;}
+.dir a{font-size:12px}
+.dir span{font-size:13px}
+.rtime{float:right;margin-left:8px;font-size:12px;color:#999;cursor:default}
+.tf12{margin-left:12px;color:#666;font-size:12px;}
+.be0{border:1px dashed #e0e0e0}
+.be0b0{border:1px dashed #e0e0e0;border-bottom:0}
+.be0b,.be0b0 .be0bt{padding:10px;border-bottom:1px solid #f0f0f0;line-height:26px;cursor:default}
+.be0b0 .be0bt,.be0b0 .be0b{border-bottom:1px dashed #e0e0e0;}
+.be0b{font-size:14px;}
+.be0t,.be0bt{border-top: 1px dashed #e0e0e0;}
+.bbse0{border-bottom:1px dotted #e0e0e0;}
+.c570{color:#570}
+.f13c6,.f12c6{font-size:12px;color:#666;}
+.f13c6{font-size:13px}
+.f16c9,.f14c9,.f12c9{font-size:12px;color:#666}
+.f14c9{font-size:14px;}
+.f16c9{font-size:16px}
+.c6{color:#666}
+.c9{color:#999}
+.f12{font-size:12px}
+.HideErr .Err{
+display:none;
+margin-top:5px;
+font-size:12px;
+color:#d30;
+}
+.Ok{
+border:1px dotted #CCC;
+color:#060;
+margin-bottom:25px;
+padding:5px;
+text-align:center;
+}
+.Bform button{font-size:16px}
+.Bform select{font-size:16px;margin-left:-6px;}
+.Bform p label{margin-right:10px}
+.Bform p input{width:286px;font-size:16px}
+.Bform p{margin-bottom:20px;font-size:14px}
+.hac{
+display:none;
+font-size:12px;
+margin-left:8px;
+}
+.bwc{
+border:1px solid #e0e0e0;
+border-bottom:0;
+float:left;
+background:#fff;
+padding:5px 0;
+width:94px;
+font-size:12px;
+color:#555;
+margin-left:4px;text-align:center;
+}
+.imgs,.picd img,.bwc{
+-moz-box-shadow: 2px 2px 6px #999;
+box-shadow: 2px 2px 6px #999;
+-webkit-box-shadow:2px 2px 6px #999;
+}
+.bwc:hover{background:#fafafa;}
+.img96{padding:3px;border:1px #e0e0e0 solid;width:96px;height:96px;background:#fff;-moz-box-shadow: 2px 2px 6px #999;
+box-shadow: 2px 2px 6px #999;
+-webkit-box-shadow:2px 2px 6px #999;
+}
+
+.pnav{padding-bottom:3px;position:absolute;border-bottom:1px #e0e0e0 solid;width:100%;left:0;_left:auto}
+.pnav a:hover{
+background:#FAFAFA;
+border-bottom:1px solid #e0e0e0;
+}
+.pnav a{
+    margin-right:6px;
+    position:relative;
+    padding:5px 13px 4px;
+    color:#666;
+    border:1px solid #e0e0e0;
+    border-bottom:0;
+}
+/*
+@-moz-document url-prefix()
+{
+.pnav .now{border-bottom:0}
+}
+*/
+.pnav .now{background:#fff;border-bottom:1px #fff solid;color:#333;_border-bottom:2px solid #fff;}
+
+.atab a{
+    color:#333;
+    font-size:14px;
+    border:2px solid #fff;
+    border-bottom-color:#eee;
+    padding:6px 3px 3px;
+    margin:0 7px;
+}
+.atab .now{
+    color:#25a;
+    border-bottom-color:#25a;
+}
+.atab a:hover{
+    background:#F9F9F9;
+    color:#25a;
+    border-color:#cfcfcf #e3e3e3 #e3e3e3 #cfcfcf;
+}
+
+
+
+
+/*gadget样式*/
+
+.picd{float:left;width:128px;padding:0 10px;font-size:12px;text-align:center;overflow:hidden;}
+.picd140 .picd{width:140px}
+.imgs,.picd img{
+padding:3px;
+border:1px solid #E0E0E0;
+}
+.ulink .cl{padding:4px 0}
+.ulink img{float:left;margin-right:3px;margin-top:-1px;width:16px;height:16px}
+.ext{float:right;color:#6af;font-weight:bold;margin-left:9px;font-family:新宋体}
+
+/* @页面样式 */
+.at .img96{z-index:1;position:relative;float:left;}
+.at h1{height:39px;overflow:hidden;padding-top:10px;font-size:34px;font-family:Georgia,Arial,sans-serif;}
+.atlink{font-size:14px;font-family:Georgia,sans-serif;margin-left:12px;}
+.mf12c3,.mf14c3{color:#333;font-size: 12px; margin-left: 12px;}
+.mf14c3{font-size:14px}
+.atimg{width:104px;float:right}
+
+
+/* 带名字头像列表样式 */
+.ulcd{padding:5px;border-top:1px #e0e0e0 dashed;font-size:12px;line-height:14px}
+.ulcm{float:left;margin-right:5px;}
+.ulcb{color:#555;padding-left:59px}
+.ico48,.ulcm{
+width:48px;height:48px;
+padding:2px;border:1px #e0e0e0 dotted;
+}
+
+.sayd{text-align: right; font-size: 12px;}
+
+/*广播聚合*/
+.udo .tf12{line-height:1;}
+.udo .ub{margin-top:20px}
+.udo .uic{background:#fcfcfc;float:left;padding:2px;border:1px #eee solid;width:48px;height:48px;margin-right:6px}
+.udo div{line-height:22px;}
+.udo .utxt,.udo .uttt{padding:1px 0 0 5px;line-height:26px;font-size:14px;margin-left:55px;}
+.udo .utxt{border-bottom:1px solid #f0f0f0;}
+.udo .be0b{padding:0;color:#999;font-size:14px;*zoom:1;margin-left:55px;padding-left:5px}
+.udo h2.c570{margin-top:20px;clear:both}
+
+
+/*分页*/
+.Page{
+font-family:georgia,times,serif;
+font-size:14px;
+color: #aaa;
+line-height:150%;
+text-align:center;
+}
+.Page a,.Page span{
+padding:0 4px 1px;
+color:#369;
+margin:1px;
+text-decoration:none;
+}
+.Page a:hover{
+text-decoration:underline;
+}
+.Page span{
+color:#ccc;
+}
+.Page .now{
+background:#33609B;
+color:#fff;
+}
+.uico96 .bwc{margin-left:30px;line-height:16px}
+.uico96 .f12c6{line-height:18px}
+.uico96 .oln{text-align:center;font-size:14px;margin:3px 0;line-height:22px}
+.fleft,.fright,.fmid{width:68px;float:left;padding:5px 0;}
+.fmid{width:70px;border:1px #e0e0e0 dashed;border-width:0 1px}
+
+.atme{font-size:14px;line-height:26px;padding:10px;border-bottom:1px dashed #e0e0e0}
+
+.g8r{
+float:right;
+position: relative;
+margin:8px 0 0;
+width:210px;
+}
+
+.ptxt h2{
+color:#557700;
+margin-bottom:20px;
+text-align:center;
+}
+.ptxt .ex{
+margin:12px;
+border:1px dotted #E0E0E0;
+padding:6px 12px;
+}
+
+/*我说*/
+#boxc{
+margin-bottom:3px;
+border: 1px solid #e0e0e0;
+line-height: 21px;
+height:48px; width: 748px;
+overflow:auto;
+}
+
+.input{
+border:1px solid #e0e0e0;
+font-size:16px;
+margin-bottom:5px;
+padding:2px;
+}
+
+#boxt{
+width:744px;
+display:none;
+}
+/*tab*/
+.pnav span{
+margin-left:3px;
+font-family:Georgia, "Times New Roman", Times, serif;
+font-size:11px;
+font-style:italic;
+}
+.pnav a{font-family:Verdana,Geneva,sans-serif;}
+.pnavr{float:right;}
+.pnavr a{
+font-size:12px;
+margin-right:0;
+margin-left:6px;
+}
+.tag span,.tag a{margin-right:5px;font-size:14px;color:#999}
+.sto a{margin-left:5px;}
+.sbl{padding-left:6px;border-left:2px #f0f0f0 solid;}
+.sbbw{border:1px solid #eee;margin-top:12px}
+.sbbc{border-top:1px solid #eee;font-size:12px}
+.sbtag{padding:6px;line-height:20px}
+.sbtag a{margin-right:8px}
+.sbbt{padding:4px 6px 3px;color:#570;background:#fcfcfc;font-size:14px}
+.schw{
+border: 1px solid #eee; padding: 10px; margin-top: 20px; margin-bottom: 5px; 
+background: url(/pic/gif/nbg.gif) repeat-x scroll 100% 100%;
+text-align:center;
+}
+#finds{
+vertical-align:middle;font-size:14px;width:78px;height:28px;line-height:24px
+}
+#findq{
+border: 1px solid #e0e0e0; width: 500px; font-size: 16px; padding:3px;vertical-align:middle;margin-right:6px
+}
+.elk img,.ico{height:16px;width:16px;float:left;margin-top:3px;margin-right:6px;}

myfile/css/imgselect.css

+/*
+ * imgAreaSelect style to be used with deprecated options
+ */
+
+.imgareaselect-border1, .imgareaselect-border2,
+.imgareaselect-border3, .imgareaselect-border4 {
+    opacity: 0.5;
+    filter: alpha(opacity=50);
+}
+
+.imgareaselect-border1 {
+	border: solid 1px #000;
+}
+
+.imgareaselect-border2 {
+	border: dashed 1px #fff;
+}
+
+.imgareaselect-handle {
+    background-color: #fff;
+    border: solid 1px #000;
+    opacity: 0.5;
+    filter: alpha(opacity=50);
+}
+
+.imgareaselect-outer {
+    background-color: #000;
+    opacity: 0.4;
+    filter: alpha(opacity=40);
+}
+
+.imgareaselect-selection {
+	background-color: #fff;
+	opacity: 0;
+	filter: alpha(opacity=0);
+}