TorrentTrader Classic Edition Passkey System v1 1


TorrentTrader Classic Edition Passkey System v1.1 - TorrentTrader Forums /* * Cascading Style Sheet(CSS 467), for Invision Power Board 2.2.0 * Author: James A. Mathias, admin@leihu.com, http://www.1lotus.com * Copyright: 2005 Invision Power Services, all rights reserved * * All style attributes in alpha-numeric order starting from 0 * */ /* * ======================================== * global element styles * ======================================== */ html{ overflow-x: auto; /* fixes MSIE scrollbar bug DO NOT REMOVE, has no effect in Mozilla, or Opera */ } body{ background: #FFF; color: #222; font-family: Verdana, Tahoma, Arial, "Trebuchet MS", Sans-Serif, Georgia, Courier, "Times New Roman", Serif; font-size: 11px; line-height: 135%; margin: 0px; padding: 0px; /* required for Opera to have 0 margin */ text-align: center; /* centers board in MSIE */ } /* * ======================================== * Set up IPB table * ======================================== */ .ipbtable { width:100% } table.ipbtable, tr.ipbtable, td.ipbtable { /* required for text in tables, because tables do not inherit from body */ background: transparent; color: #222; font-size: 11px; line-height: 135%; } .ipbtable td, .divpad{ /* gives all tables faux cellpadding of 5px */ padding: 5px; } td.nopad{ /* allows some tables to have no padding on the td */ padding: 0; } /* Safari... */ th { text-align: left; } form{ display: inline; margin: 0; /* removes mystery form tag gapping */ padding: 0; /* removes mystery form tag gapping */ } img{ border: 0; /* makes sure linked images do not have a border */ vertical-align: middle; } /* * ======================================== * global hyperlink styles * ======================================== */ a:link, a:visited, a:active{ background: transparent; color: #222; text-decoration: underline; } a:hover{ background: transparent; color: #34498B; } /* * ======================================== * Main wrapper, this controls the overall width of the board in you browser view window. * ======================================== */ #ipbwrapper{ margin: 20px auto 20px auto; /* centers the box, no matter the overall width, also applies a 20px gap at the top and bottom of the board */ text-align: left; /* re_aligns text to left second part of two part MSIE centering workaround */ /* EDIT THIS TO CHANGE THE WIDTH OF THE BOARD -> 960px is a common fixed resolution size */ width: 98%; } /* * ======================================== * styles for pagination links * ======================================== */ .pagelink, .pagelinklast, .pagecurrent, .minipagelink, .minipagelinklast{ background: #F0F5FA; border: 1px solid #072A66; padding: 1px 3px 1px 3px; } .pagelinklast, .minipagelinklast{ background: #DFE6EF; } .pagecurrent{ background: #FFC9A5; } .minipagelink, .minipagelinklast{ border: 1px solid #C2CFDF; font-size: 10px; margin: 0 1px 0 0; } .pagelink a:active, .pagelink a:visited, .pagelink a:link, .pagelinklast a:active, .pagelinklast a:visited, .pagelinklast a:link, .pagecurrent a:active, .pagecurrent a:visited, .pagecurrent a:link, .minipagelink a:active, .minipagelink a:visited, .minipagelink a:link, .minipagelinklast a:active, .minipagelinklast a:visited, .minipagelinklast a:link{ text-decoration: none; } /* fake button effect for some links */ .fauxbutton{ background: #BFCDE0; border: 1px solid #072A66; font-size: 11px; font-weight: bold; padding: 4px; } .fauxbutton a:link, .fauxbutton a:visited, .fauxbutton a:active{ color: #222 !important; text-decoration: none; } .forumdesc, .forumdesc a:link, .forumdesc a:visited, .forumdesc a:active{ background: transparent; font-size: 10px; color: #666; line-height: 135%; margin: 2px 0 0 0; padding: 0; } /* =================================================================================== */ /* =================================================================================== */ /* =================================================================================== */ .searchlite { background-color:yellow; font-weight:bold; color: red; } .activeusers{ background: #FFF; border: 1px solid #072A66; color: #000; margin: 0px; padding: 1px; } .activeuserposting a:link, .activeuserposting a:visited, .activeuserposting a:active, .activeuserposting { font-style:italic; text-decoration: none; border-bottom:1px dotted black; } fieldset.search{ line-height: 150%; padding: 6px; } label{ cursor: pointer; } img.attach{ background: #808080 url(style_images/1/click2enlarge.gif) no-repeat top right; border: 1px solid #808080; margin: 0 2px 0 0; padding: 11px 2px 2px 2px; } .thumbwrap, .thumbwrapp, .fullimagewrap { border: 1px solid #072A66; margin: 2px; } .thumbwrapp{ border: 2px solid #660707; } .fullimagewrap{ background: #F5F9FD; text-align: center; margin: 5px 0 5px 0; padding: 5px; } .thumbwrap h4, .thumbwrapp h4{ background: #DDE6F2; border: 0 !important; border-bottom: 1px solid #5176B5 !important; color: #5176B5; font-size: 12px; font-weight: bold; margin: 0; padding: 5px; } .thumbwrap p, .thumbwrapp p{ background: #EEF2F7 !important; border: 0 !important; border-top: 1px solid #5176B5 !important; margin: 0 !important; padding: 5px !important; text-align: left; } .thumbwrap p.alt, .thumbwrapp p.alt{ background: #DFE6EF !important; margin: 0 !important; padding: 5px !important; text-align: left; } .thumbwrapp p.pin{ background: #EFDFDF !important; text-align: center !important; } .thumbwrap img.galattach, .thumbwrapp img.galattach{ background: #FFF url(style_images/1/img_larger.gif) no-repeat bottom right; border: 1px solid #072A66; margin: 5px; padding: 2px 2px 10px 2px; } li.helprow{ margin: 0 0 10px 0; padding: 0; } ul#help{ padding: 0 0 0 15px; } .warngood, .warnbad{ color: #0B9500; font-weight: bold; } .warnbad{ color: #DD0000; } #padandcenter{ margin: 0 auto 0 auto; padding: 14px 0 14px 0; text-align: center; } #profilename{ font-size: 28px; font-weight: bold; } #photowrap{ padding: 6px; } #phototitle{ border-bottom: 1px solid #000; font-size: 24px; } #photoimg{ margin: 15px 0 0 0; text-align: center; } #ucpmenu, #ucpcontent{ background: #F5F9FD; border: 1px solid #345487; line-height: 150%; } #ucpmenu p{ margin: 0; padding: 2px 5px 6px 9px; } #ucpmenu a:link, #ucpmenu a:active, #ucpmenu a:visited{ text-decoration: none; } #ucpcontent{ width: auto; } #ucpcontent p{ margin: 0; padding: 10px; } .activeuserstrip{ background: #BCD0ED; padding: 6px; } /* Topic View elements */ .signature{ background: transparent; color: #339; font-size: 10px; line-height: 150%; } .postdetails{ font-size: 10px; line-height:140%; } .postcolor{ font-size: 12px; line-height: 160%; } .normalname{ color: #003; font-size: 12px; font-weight: bold; } .normalname a:link, .normalname a:visited, .normalname a:active{ font-size: 12px; } .post1, .bg1{ background: #F5F9FD; } .post2, .bg3{ background: #EEF2F7; } .row2shaded, .post1shaded { background-color: #DEDBE4 } .row4shaded, .post2shaded { background-color: #E3DFE7 } .row1{ background: #DFE6EF; } .row2{ background: #E4EAF2; } .rowhighlight{ background-color: #FFF9BA; } .darkrow1{ background: #BCD0ED; color: #3A4F6C; } .darkrow3{ background: #D1DCEB; color: #3A4F6C; } /* tableborders gives the white column / row lines effect */ .plainborder, .tablefill, .tablepad{ background: #F5F9FD; border: 1px solid #345487; } .tablefill, .tablepad{ padding: 6px; } .tablepad{ border: 0 !important; } .wrapmini{ float: left; line-height: 1.5em; width: 25%; } .pagelinks{ float: left; line-height: 1.2em; width: 35%; } .desc{ font-size: 11px; color: #434951; } .lastaction { font-size: 10px; color: #434951; } .edit{ font-size: 9px; } .thin{ border: 1px solid #FFF; border-left: 0; border-right: 0; line-height: 150%; margin: 2px 0 2px 0; padding: 6px 0 6px 0; } /* =================================================================================== */ /* =================================================================================== */ /* =================================================================================== */ /* * ======================================== * calendar styles * ======================================== */ .calmonths{ background: #F0F5FA; border: 1px solid #C2CFDF; font-size: 18px; font-weight: bold; margin: 5px 0 5px 0; padding: 8px; text-align: center; } .weekday{ font-size: 14px; font-weight: bold; } .calmonths a{ text-decoration: none; } .calday, .calweekday{ background: #DFE6EF; color: #666; font-size: 11px; font-weight: bold; margin: 0; padding: 4px; text-align: right; } .calweekday{ border-right: 1px solid #AAA; color: #222; font-size: 14px; padding: 6px; text-align: center; } .celltodayshaded, .celldateshaded, .cellblank, .celldate, .celltoday, .mcellblank, .mcelldate, .mcelltoday{ background: #EEF2F7; height: 100px; margin: 0; padding: 0; vertical-align: top; } .celltodayshaded, .celldateshaded { background: #E3DFE7; } .mcellblank, .mcelldate, .mcelltoday{ height: auto; } .cellblank, .mcellblank{ background: #C2CFDF; } .celltoday, .celltodayshaded, .mcelltoday{ border: 2px solid #8B0000; } .calranged { border: 2px outset #C2CFDF; background: #C2CFDF; padding:4px; } .calitem { border-bottom: 1px dotted #C2CFDF; padding:4px; } /* * ======================================== * form styles * ======================================== */ .input-warn, .input-green, .input-checkbox, input, textarea, select{ background: #FFF; border: 1px solid #4C77B6; color: #000; font-family: verdana, helvetica, sans-serif; font-size: 11px; margin: 5px; padding: 2px; vertical-align: middle; } select { margin: 0px; } .input-checkbox { border: none; } .input-warn, .input-warn-content { border: 1px solid #C00; } .input-ok, .input-ok-content { border: 1px solid #0C0; } .input-warn-content { padding: 4px; margin: 4px; background-color: #FCC; } .input-ok-content { padding: 4px; margin: 4px; background-color: #CFC; } .input-text { color: #900; } input.button{ margin: 0; width: auto; cursor: pointer; } optgroup option{ font-family: verdana, helvetica, sans-serif; font-size: 12px; } .codebuttons{ font-family: Verdana, Helvetica, Sans-Serif; font-size: 10px; vertical-align: middle; margin:2px; } .textarea, .searchinput, .button, .gobutton{ background: #FFF; border: 1px solid #4C77B6; color: #000; font-family: Verdana, Helvetica, Sans-Serif; font-size: 11px; padding: 2px; vertical-align: middle; } .button{ background: #DFE6EF; } .gobutton{ background: transparent; border: 0; color: #072A66; margin: 0; vertical-align: middle; } .radiobutton, .checkbox, .helpbox { border: 0; vertical-align: middle; background: transparent; } /* * class.formtable * * used for tabled forms * technically tables should not be used for form display * but, in the case of IPB a table is easier to work with * for the average webmaster, who has little to no CSS knowledge. * */ .formtable{ background: transparent; } .formtable td, .pformleft, .pformleftw, .pformright{ background:#F5F9FD; border: 1px solid #C2CFDF; border-bottom: 0; border-left: 0; font-weight: bold; margin: 1px 0 0 0; padding: 6px; width: 25%; } .formtable td.wider, .pformleftw, .pformright{ width: 40%; } .formtable td.formright, .pformright{ border-right: 0px; font-weight: normal; width: auto; } .formtable td.formtitle, .formsubtitle{ background: #D1DCEB; border: 1px solid #9FB9D4; border-bottom: 0; border-left: 0; border-right: 0; font-weight: normal; } .formsubtitle{ border: 0; color: #3A4F6C; font-weight: bold; padding: 5px; } .formtable td.formstrip{ background: #DDE8F2; border: 1px solid #9FB9D4; border-left: 0; border-right: 0; font-weight: normal; } /* * ======================================== * new style quote and code wrappers MATT's DESIGN * ======================================== */ .quotetop{ background: #E4EAF2 url(style_images/1/css_img_quote.gif) no-repeat right; border: 1px dotted #000; border-bottom: 0; border-left: 4px solid #8394B2; color: #000; font-weight: bold; font-size: 10px; margin: 2px auto 0 auto; padding: 3px; } .quotemain{ background: #FAFCFE; border: 1px dotted #000; border-left: 4px solid #8394B2; border-top: 0; color: #465584; padding: 4px; margin: 0 auto 0 auto; } .codetop, .sqltop, .htmltop{ background: #FDDBCC url(style_images/1/css_img_code.gif) no-repeat right; color: #000; font-weight: bold; margin: 0 auto 0 auto; padding: 3px; } .codemain, .sqlmain, .htmlmain{ background: #FAFCFE; border: 1px dotted #000; color: #465584; font-family: Courier, "Courier New", Verdana, Arial; margin: 0 auto 0 auto; padding: 2px; } /* * ======================================== * old school quote and code styles - backwards compatibility * ======================================== */ #QUOTE, #CODE{ background: #FAFCFE; border: 1px solid #000; color: #465584; font-family: Verdana, Arial; font-size: 11px; padding: 2px; white-space: normal; } #CODE{ font-family: Courier, "Courier New", Verdana, Arial; } /* * ======================================== * All New Styles * ======================================== */ .cleared{ clear: both; } .borderwrap, .borderwrapm{ /* this will affect the outlining border of all the tables and boxes through-out the skin. */ background: #FFF; border: 1px solid #072A66; padding: 0px; margin: 0px; } .borderwrapm{ margin: 5px; } .borderwrap h3, .maintitle, .maintitlecollapse{ background: url(style_images/1/tile_cat.gif); border: 1px solid #FFF; border-bottom: 1px solid #5176B5; color: #FFF; font-size: 12px; font-weight: bold; margin: 0px; padding: 8px; } .maintitle td { color: #FFF; font-size: 12px; font-weight: bold; } .maintitlecollapse{ border: 1px solid #FFF; } .maintitle p, .maintitlecollapse p, .formsubtitle p{ background: transparent !important; border: 0 !important; margin: 0 !important; padding: 0 !important; } .maintitle p.expand, .maintitle p.goto, .maintitlecollapse p.expand, .formsubtitle p.members{ float: right; width: auto !important; } .maintitle a:link, .maintitle a:visited, .maintitlecollapse a:link, .maintitlecollapse a:visited{ background: transparent; color: #FFF; text-decoration: none; } .maintitle a:hover, .maintitle a:active, .maintitlecollapse a:hover, .maintitlecollapse a:active{ background: transparent; color: #F1F1F1; } table th, .borderwrap table th, .subtitle, .subtitlediv, .postlinksbar{ background: transparent url(style_images/1/tile_sub.gif); border-bottom: 1px solid #5176B5; color: #3A4F6C; font-size: 10px; font-weight: bold; letter-spacing: 1px; margin: 0; padding: 5px; } .subtitlediv{ border: 1px solid #FFF; border-bottom: 1px solid #5176B5; text-align: right; } .borderwrap table th a:link, .subtitle a:link, .subtitlediv a:link, .borderwrap table th a:visited, .subtitle a:visited, .subtitlediv a:visited, .borderwrap table th a:active, .subtitle a:active, .subtitlediv a:active, .borderwrap table th a:hover, .subtitle a:hover, .subtitlediv a:hover{ background: transparent; color: #3A4F6C; text-decoration: none; } .borderwrap h4{ background: #DDE6F2; border: 1px solid #FFF; border-bottom: 1px solid #5176B5; border-top: 1px solid #5176B5; color: #5176B5; font-size: 12px; font-weight: bold; margin: 0; padding: 5px; } .borderwrap p{ background: #F9F9F9; border: 1px solid #CCC; margin: 5px; padding: 10px; text-align: left; } td.formbuttonrow, .pformstrip, .borderwrap p.formbuttonrow, .borderwrap p.formbuttonrow1{ background: #D1DCEB !important; border: 1px solid #FFF; border-top: 1px solid #5176B5; margin: 0px !important; padding: 5px !important; text-align: center; } td.formbuttonrow{ border-bottom: 0; border-left: 0; border-right: 0; } .borderwrap p.formbuttonrow1{ background: #F9F9F9 !important; border: 0; border-top: 1px solid #CCC; } .bar, .barb, .barc{ background: #DFE6EF; border: 1px solid #FFF; } .barc{ border-bottom: 0; } .bar p, .barb p, .barc p{ background: transparent; border: 0; color: #222; font-size: 11px; margin: 0; padding: 5px; text-align: left; } .barb p{ text-align: right; } .bar p.over, .bar p.overs, .barc p.over, .barc p.overs{ float: right; } .barb p.over, .barb p.overs{ float: left; } .bar p.overs, .barb p.overs, .barc p.overs{ position: relative; top: 5px; } .catend{ background: #8394B2; color: #000; font-size: 1px; height: 5px; } .newslink{ background: #F0F5FA; border: 1px solid #C2CFDF; margin: 0; width: 100%; } .newslink td{ color: #222; font-size: 10px; padding: 5px 5px 5px 10px; } .newslink span{ background: transparent; color: #072A66; font-style: italic; font-weight: normal; } .newslink input{ background: #FFF; border: 1px solid #999; color: #072A66; font-size: 10px; padding: 3px; vertical-align: middle; width: auto; } .newslink input.button{ background: transparent; border: 0; color: #072A66; vertical-align: middle; } .fieldwrap{ background: #F9F9F9; border: 1px solid #CCC; border-top: 0; margin: 5px; padding: 0; text-align: left; } .fieldwrap h4{ background: #EEE; border: 1px solid #CCC; border-left: 0; border-right: 0; color: #444; font-size: 12px; font-weight: bold; margin: 0; padding: 5px; } .errorwrap { background: #F2DDDD; border: 1px solid #992A2A; border-top: 0; margin: 5px; padding: 0; } .errorwrap h4 { background: #E3C0C0; border: 1px solid #992A2A; border-left: 0; border-right: 0; color: #992A2A; font-size: 12px; font-weight: bold; margin: 0; padding: 5px; } .errorwrap p { background: transparent; border: 0; color: #992A2A; margin: 0; padding: 8px; } .ruleswrap{ background: #F2DDDD; border: 1px solid #992A2A; color: #992A2A; margin: 5px 0 5px 0; padding: 5px; } #redirectwrap{ background: #F0F5FA; border: 1px solid #C2CFDF; margin: 200px auto 0 auto; text-align: left; width: 500px; } #redirectwrap h4{ background: #D0DDEA; border-bottom: 1px solid #C2CFDF; color: #3A4F6C; font-size: 14px; margin: 0; padding: 5px; } #redirectwrap p{ margin: 0; padding: 5px; } #redirectwrap p.redirectfoot{ background: #E3EBF4; border-top: 1px solid #C2CFDF; text-align: center; } #gfooter{ background: #8394B2; margin: 5px 0 5px 0; padding: 0; width: 100%; } #gfooter td{ color: #FFF; font-size: 10px; padding: 4px; } #gfooter a:link, #gfooter a:visited{ color: #FFF; } #logostrip{ background: #3860BB url(style_images/1/tile_back.gif); border: 1px solid #FFF; height: 68px; margin: 0; padding: 0; } #logographic{ background: transparent url(style_images/1/logo4.gif) no-repeat left; height: 68px; margin: 0; padding: 0; } #submenu{ background: transparent url(style_images/1/tile_sub.gif); border: 1px solid #FFF; border-top: 0; color: #3A4F6C; margin: 0; height: 29px; text-align: right; } .ipb-top-left-link, .ipb-top-right-link { background: transparent url(style_images/1/tile_sub-lite.gif); float: right; font-size: 10px; font-weight: bold; letter-spacing: 0.5px; margin: 0px; padding: 7px 0 7px 0; width: auto; border-left: 1px solid #dce3ee; } .ipb-top-left-link { float: left; border-left: 0px; border-right: 1px solid #dce3ee; } .ipb-top-left-link a:link, .ipb-top-left-link a:visited, .ipb-top-right-link a:link, .ipb-top-right-link a:visited { background: transparent; color: #3A4F6C; padding: 0 6px 0 6px; text-decoration: none; } .ipb-top-left-link a:hover, .ipb-top-left-link a:active, .ipb-top-right-link a:hover, .ipb-top-right-link a:active { background: transparent; color: #5176B5; } #userlinks, #userlinksguest{ background: #F0F5FA; border: 1px solid #C2CFDF; margin: 5px 0 5px 0; padding: 0 5px 0 5px; } #userlinksguest{ background: #F4E7EA; border: 1px solid #986265; } #userlinks p, #userlinksguest p{ background: transparent !important; border: 0 !important; font-size: 10px; font-weight: bold; letter-spacing: 1px; margin: 0 !important; padding: 7px 0 7px 0; text-align: right; } #userlinks p, #userlinksguest p{ font-weight: normal; letter-spacing: 0; } #userlinksguest p.pcen{ text-align: center; } #userlinks p.home, #userlinksguest p.home{ float: left; } #navstrip{ background: transparent; color: #999; font-size: 12px; font-weight: bold; margin: 0 0 5px 0; padding: 14px 0px 8px 0px; } #navstrip a:link, #navstrip a:visited{ background: transparent; color: #222; text-decoration: none; } #navstrip a:hover, #navstrip a:active{ background: transparent; color: #5176B5; } .toplinks{ background: transparent; color: #000; margin: 0; padding: 0 0 5px 0; text-align: right; } .toplinks span{ background: #F0F5FA; border: 1px solid #C2CFDF; border-bottom: 0; color: #000; font-size: 10px; font-weight: bold; margin: 0 10px 0 0; padding: 5px; } .copyright{ background: #EEE; font-size: 11px; margin: 0 0 5px 0; padding: 8px; } /* * ======================================== * print page styles * ======================================== */ #print{ margin: 20px auto 20px auto; padding: 0; text-align: left; width: 85%; } #print h1, #print h2, #print h3, #print h4, #print p{ color: #036; font-size: 18px; font-weight: bold; margin: 0; padding: 8px; } #print h2, #print h3, #print p{ border-bottom: 1px solid #999; font-size: 11px; font-weight: normal; } #print h3{ background: #F5F5F5; font-size: 12px; font-weight: bold; margin: 0 0 10px 0; } #print h4{ background: #F9F9F9; font-size: 11px; } #print p{ margin: 0 0 5px 0; padding: 10px; } #print p.printcopy{ border: 0; color: #000; text-align: center; } .dny-edit-title { border:0px; padding:3px; margin:0px; background: #D1DCEB; color: #3A4F6C; } /* ======================================== */ /* TABS /* ======================================== */ .tabon { border-top:1px solid #999; border-left:1px solid #999; border-right:1px solid #999; background-color:#FFF; padding:8px; padding-bottom:9px; font-size:10px; float:left; width:auto; margin-top:3px; } .taboff { border-top: 1px solid #777; border-left: 1px solid #777; border-right: 1px solid #777; background-color: #B5C3D9; color: #333; padding: 8px; font-size:10px; float: left; width: auto; margin-top:3px; } .tabon a:link, .tabon a:visited, .tabon a:active { text-decoration:none; color: #000; } .taboff a:link, .taboff a:visited, .taboff a:active { text-decoration:none; color: #333; } .mya-back { background: #072A66; margin:1px; padding: 1px; } .mya-content { background: #FFF; padding:8px; margin: 1px; border: 1px solid #777; } .mya-content-tbl { background: #F0F5FA; border: 1px solid #777; text-align:left; font-size:10px; white-space:nowrap; margin:1px; } .mya-fieldwrap { background: transparent; margin-top: 2px; margin-bottom: 2px; padding: 4px; border: 1px solid #C5C7CD; -moz-border-radius: 5px; width: auto; display: block; } /* -------------------------------- */ /* Create PM box defaults */ /* -------------------------------- */ .iframeshim { position:absolute; display:none; background: #FFF; border:0px; width:auto; height:auto; } /* -------------------------------- */ /* Experimental */ /* -------------------------------- */ .popupmenu, .popupmenu-new { background: #F0F5FA; border: 1px solid #3A4F6C; text-align:left; font-size:10px; white-space:nowrap; /*padding:3px 5px 3px 3px;*/ /*width:300px;*/ } .popupmenu-item { padding: 5px; /*margin-top:4px;*/ white-space: nowrap; border-bottom: 1px solid #C2CFDF; color: #000000; font-weight: normal; } .popupmenu-item-last { padding: 5px; /*margin-top:4px;*/ white-space: nowrap; color: #000000; font-weight: normal; } .popmenubutton-new, .popmenubutton { width:120px; white-space:nowrap; background-color: #C2CFDF; border:1px solid #3A4F6C; color: #3A4F6C; font-weight:bold; float:right; height:18px; text-align:center; margin:0px; font-size:11px; padding:3px; } .popmenubutton-new { float:none; width:auto; text-align:left; height:auto; padding:3px; font-weight:normal; background-color:#EEF2F7; background-image: url(style_images/1/menu_action_down-padded.gif); background-repeat: no-repeat; background-position: right; } .popmenubutton-new-out { padding:4px; } .popupmenu-new { background-color: #DFE6EF; } .popmenubutton a:link, .popmenubutton a:visited, .popmenubutton-new a:link, .popmenubutton-new a:visited, .popupmenu-item a:link, .popupmenu-item a:visited, .popupmenu-item-last a:link, .popupmenu-item-last a:visited { color: #3A4F6C; text-decoration: none; } .popmenubutton a:hover, .popmenubutton-new a:hover, .popupmenu-item a:hover, .popupmenu-item-last a:hover { color: #5176B5; text-decoration: none; } .popupmenu-category { background: transparent url(style_images/1/tile_sub.gif); border-top: 1px solid #5176B5; border-bottom: 1px solid #5176B5; color: #3A4F6C; font-size: 10px; font-weight: bold; letter-spacing: 1px; margin: 0; padding: 5px; } /* -------------------------------- */ /* Loading box /* -------------------------------- */ #loading-layer-inner { width:220px; height:28px; padding:18px 10px 10px 10px; text-align:center; color: #000; border: 1px solid; border-color:#CCC #666 #666 #CCC; background-color: #FCF8C7; } /* -------------------------------- */ /* Message in a bo(x|ttle) /* -------------------------------- */ #ipd-msg-wrapper { display: none; width: 220px; } #ipd-msg-inner { width:100%; height:45px; padding: 6px 4px 4px 4px; margin: 0px; text-align:center; color: #000; border: 1px solid; border-color:#ccc #666 #666 #ccc; background-color: #FCF8C7; filter:alpha(opacity=75); opacity:.75 } #ipd-msg-title { width: 100%; height:20px; margin: 0px; padding: 6px 4px 4px 4px; background: transparent url(style_images/1/css_pp_header.gif); border: 1px solid #3A4F6C; border-bottom: 0px; color: #FFF; } .linked-image { margin: 0px; padding: 0px; border: 0px; } .resized-linked-image { margin: 1px 0px 0px 0px; padding: 0px; background-color: #000; border: 0px; color: #FFF; font-size: 10px; width: auto; -moz-border-radius-topleft: 7px; -moz-border-radius-topright: 7px; } .resized-linked-image-zoom { width: 200px; height: 30px; filter:alpha(opacity=85); opacity:.85; background-color: #FFF; padding-top: 6px; padding-left: 5px; top: 0px; left: 0px; position: absolute; display: none; } /* -------------------------------- */ /* Edit post reason /* -------------------------------- */ .post-edit-reason { background: #E7EAEF; margin-top: 9px; margin-bottom: 0px; padding: 4px; color: #333; font-size: 10px; border: 1px solid #C5C7CD; -moz-border-radius: 5px; width: auto; display: block; } /* -------------------------------- */ /* Personal Profile /* -------------------------------- */ .pp-name { background: #F0F5FA; border: 1px solid #C2CFDF; margin: 0px; padding: 10px; } .pp-name h3 { margin:0px; padding:0px 0px 5px 0px; font-size:24px; } .pp-header { background: transparent url(style_images/1/tile_sub.gif); color: #3A4F6C; font-size: 10px; font-weight: bold; margin: 0px 0px 1px 0px; padding: 5px; } .pp-title { background: url(style_images/1/css_pp_header.gif); border-bottom: 1px solid #5176B5; color: #FFF; font-size: 12px; font-weight: bold; margin: 0px; padding: 8px; } .pp-datebox { text-align: center; background: #FFFFFF; border: 1px solid #555555; padding: 4px; margin: 0px; font-size:18px; font-weight:bold; line-height: 100%; letter-spacing: -1px; float:right; width: auto; } .pp-datebox em { color: #AAA; font-weight: normal; font-style: normal; } .pp-contentbox-back { background-image: url(style_images/1/folder_profile_portal/pp-css-contentblock.gif); background-repeat: repeat-x; background-color: #ACBFD9; padding: 6px; } .pp-contentbox-entry, .pp-contentbox-entry-noheight, .pp-contentbox-entry-noheight-mod, .pp-contentbox-entry-noheight-sel { background-color: #EEF2F7; border: 1px solid #888888; line-height: 140%; padding: 8px; margin-bottom: 6px; height: 200px; overflow: auto; overflow-x: auto; } .pp-contentbox-entry-noheight-sel { background-color:#FCECCD; } .pp-contentbox-entry-noheight-mod { background-color:#FDF1DA; } .pp-contentbox-entry-noheight, .pp-contentbox-entry-noheight-mod, .pp-contentbox-entry-noheight-sel { height: auto; margin-bottom: 1px; } .pp-image-thumb-wrap, .pp-image-thumb-wrap-floatright, .pp-image-mini-wrap, .pp-image-mini-wrap-floatright { width: 52px; height: 52px; text-align: center; background: #FFFFFF; border: 1px solid #555555; padding: 4px; margin-top: auto; margin-bottom: auto; } .pp-image-mini-wrap, .pp-image-mini-wrap-floatright { width: 27px; height: 27px; margin-top: auto; margin-bottom: auto; } .pp-image-thumb-wrap-floatright, .pp-image-mini-wrap-floatright { float:right; } .pp-tiny-text { color: gray; font-size: 10px; } .pp-mini-content-entry, .pp-mini-content-entry-noheight, .pp-mini-entry-noheight-shaded { background-color: #F5F9FD; padding: 6px; border-bottom: 1px dotted #555555; clear:both; width: auto; height: 60px; } .pp-mini-entry-noheight-shaded { background-color: #E3DFE7; } .pp-mini-content-entry-noheight, .pp-mini-entry-noheight-shaded { height: auto; } .pp-tabclear, .pp-maintitle { background: url(style_images/1/css_pp_header.gif); border: 1px solid #FFF; border-bottom: 1px solid #5176B5; color: #FFF; font-size: 12px; font-weight: bold; margin: 0px; padding: 8px; } .pp-tabclear { border:0px; border-right: 1px solid #072A66; border-left: 1px solid #072A66; } .pp-tabon { border-top:1px solid #3363A1; border-left:1px solid #072A66; border-right:1px solid #072A66; background-color:#6696D6; color:#FFFFFF; padding:8px; float:left; width:auto; background-image: url(style_images/1/css_pp_tab_on.gif); background-repeat: repeat-x; background-position: left bottom; margin-top:3px; font-size:10px; } .pp-taboff, .pp-tabshaded { border-top: 1px solid #759BC7; border-left: 1px solid #759BC7; border-right: 1px solid #759BC7; background-color: #3363A1; color: #3363A1; padding:8px; float: left; width: auto; background-image: url(style_images/1/css_pp_tab_off.gif); background-repeat: repeat-x; background-position: left bottom; margin-top:3px; font-size:10px; } .pp-tabshaded { background-image: url(style_images/1/css_pp_tab_shaded.gif); background-repeat: repeat-x; background-position: left bottom; color: #516795; border-top: 1px solid #7f9BBC; border-left: 1px solid #7f9BBC; border-right: 1px solid #7f9BBC; } .pp-tabon a:link, .pp-tabon a:visited, .pp-tabon a:active { text-decoration:none; color: #FFFFFF; } .pp-taboff a:link, .pp-taboff a:visited, .pp-taboff a:active, .pp-tabshaded a:link, .pp-tabshaded a:visited, .pp-tabshaded a:active { text-decoration:none; color: #3363A1; } .pp-tabwrap { height: 34px; margin:0px; padding:0px; } @import url( "http://www.torrenttrader.org/style_images/1/folder_editor_images/css_rte.css" ); // // Features Forums SourceForge Download Premium Support Custom Services VBTT VBTT Download Help Search Members Calendar Search this forum only? More Search Options ipsmenu.register( "ipb-tl-search", 'document.getElementById("ipb-tl-search-box").focus();' ); gbl_check_search_box(); [X] My Assistant Loading. Please Wait...   Site Message (Message will auto close in 2 seconds) Logged in as: small_bigguy ( Log Out ) My Controls · View New Posts · My Assistant · My Friends · 0 New Messages  TorrentTrader Forums > TorrentTrader PREMIUM > PREMIUM Hacks & Modifications //  Posting Rules Please remember that all hacks and modifications found in the premium area are for premium members only.DO NOT DISTRIBUTE!

   TorrentTrader Classic Edition Passkey System v1.1 Options Carlcox89 View Member Profile Add as Friend Send Message Find Member's Topics Find Member's Posts ipsmenu.register( "post-member-15155", '', 'popmenubutton-new', 'popmenubutton-new-out' ); Aug 11 2006, 05:09 PM Post #1 Advanced Member Group: Premium Posts: 202 Joined: 1-October 05 Member No.: 68 This hack is EXCLUSIVE to members of TorrentTrader Premium, please do not distribute.Title: "TorrentTrader Classic Edition Passkey System v1.1"Coder: FLASHModified by: Carlcox89Some parts of this code from the SKORPiUS version.Works with: TTClassic FinalDescription:This hack uses a secure key to identify users instead of their ip, which can cause problems if they user has a dynamic IP or is behind a proxy (AOL ETC). It will then help in the stats recording process to apply the stats to the right user.There is no need for your members to add the passkey to their torrents, Once your user has uploaded their torrent as usual theyMUST RE-DOWNLOAD it and then seed the downloaded file, they site will automatically add the passkey. If they do not do this they willreceive a "invalid passkey (0-)" message. You may want to add this to your FAQA comment is also added with the site URL.If you suspect that the passkey has been leaked:- Users can reset their own passkey via the MY ACCOUNT page, and adjust settings. There is a tick box to reset it.- Your staff can also reset it by clicking on a username and there is a reset option in the mod pannel.Please remember to backup any files you edit, we cannot be held responsible for any data lossin phpmyadmin do the following:CODEALTER TABLE users ADD passkey VARCHAR(32) NOT NULL;ALTER TABLE peers ADD passkey VARCHAR(32) NOT NULL;if you are using a very old torrenttrader release then you will need to instert the following sql alsoCODEALTER TABLE peers ADD userid VARCHAR(32) NOT NULL;account-settings.phpfind:CODE$updateset[] = "title = '$title'";add under:CODE#========================================#    PASSKEY MOD#========================================if ($_POST['resetpasskey']) $updateset[] = "passkey=''";#========================================#    END PASSKEY MOD#========================================find:CODEtr("" . EMAIL_ADDRESS . "", "<input type=\"text\" name=\"email\" size=50 value=\"" . htmlspecialchars($CURUSER["email"]) .  "\"><br />\n" . REPLY_TO_CONFIRM_EMAIL . "<br>",1);add under:CODE#========================================#    PASSKEY MOD#========================================tr("Reset passkey","<input type=checkbox name=resetpasskey value=1 /> (Any active torrents must be downloaded again to continue leeching/seeding)", 1);#========================================#    END PASSKEY MOD#========================================account-details.phpfind:CODE  print("<tr><td>Forum Banned: </td><td align=left><input name=forumbanned value=yes type=radio" . ($forumbanned ? " checked" : "") . ">Yes <input name=forumbanned value=no type=radio" . (!$forumbanned ? " checked" : "") . ">No</td></tr>\n");add under:CODE#========================================#    PASSKEY MOD#========================================  print("<tr><td>Passkey</td><td align=left><input name=resetkey value=1 type=checkbox>Reset passkey (Any active torrents must be downloaded again to continue leeching/seeding)</td></tr>\n");#========================================#     END PASSKEY MOD#========================================open announce.phpfind:CODE$req = "info_hash:peer_id:!ip:port:uploaded:downloaded:left:!event";foreach (explode(":", $req) as $x){    if ($x[0] == "!")    {  $x = substr($x, 1);  $opt = 1;    }    else  $opt = 0;    if (!isset($_GET[$x]))    {  if (!$opt)      err("missing key");  continue;    }    $GLOBALS[$x] = unesc($_GET[$x]);}foreach (array("info_hash","peer_id") as $x){    if (strlen($GLOBALS[$x]) != 20)  err("invalid $x (" . strlen($GLOBALS[$x]) . " - " . urlencode($GLOBALS[$x]) . ")");}if (empty($ip) || !preg_match('/^(\d{1,3}\.){3}\d{1,3}$/s', $ip))    $ip = getip();//SET VARIABLES$port = 0 + $port;$downloaded = 0 + $downloaded;$uploaded = 0 + $uploaded;$left = 0 + $left;replace withCODE////////////////////////////// PASSKEY SYSTEM////////////////////////////foreach (array("passkey","info_hash","peer_id","event","ip") as $x){if(isset($_GET["$x"]))$GLOBALS[$x] = "" . $_GET[$x];}foreach (array("port","downloaded","uploaded","left") as $x)$GLOBALS[$x] = 0 + $_GET[$x];if (strpos($passkey, "?")) {$tmp = substr($passkey, strpos($passkey, "?"));$passkey = substr($passkey, 0, strpos($passkey, "?"));$tmpname = substr($tmp, 1, strpos($tmp, "=")-1);$tmpvalue = substr($tmp, strpos($tmp, "=")+1);$GLOBALS[$tmpname] = $tmpvalue;}foreach (array("passkey","info_hash","peer_id","port","downloaded","uploaded","left") as $x)if (!isset($x)) err("Missing key: $x");foreach (array("info_hash","peer_id") as $x)if (strlen($passkey) != 32) err("Invalid passkey (" . strlen($passkey) . " - $passkey)");$ip = getip();//////////////////////////////END PASSKEY SYSTEM////////////////////////////find:CODE//DEFINE SEEDER OR NOT$seeder = ($left == 0) ? "yes" : "no";dbconn(false);after, add:CODE////////////////////////////// PASSKEY SYSTEM//////////////////////////////Check if Passkey is valid$valid = @mysql_fetch_row(@mysql_query("SELECT COUNT(*) FROM users WHERE passkey=" . sqlesc($passkey) . ""));////////////////////////////// END PASSKEY SYSTEM////////////////////////////find:CODE$rzz = mysql_query("SELECT id, uploaded, downloaded, class FROM users WHERE ip='$ip' AND enabled = 'yes' ORDER BY last_access DESC LIMIT 1");replace with:CODE////////////////////////////// PASSKEY SYSTEM////////////////////////////$valid = @mysql_fetch_row(@mysql_query("SELECT COUNT(*) FROM peers WHERE torrent=$torrentid AND passkey=" . sqlesc($passkey) . ""));if ($valid[0] >= 1 && $seeder == 'no') err("Connection limit exceeded! Your Passkey Has possibly been leaked");if ($valid[0] >= 3 && $seeder == 'yes') err("Connection limit exceeded!");$rzz = mysql_query("SELECT id, uploaded, downloaded, class FROM users WHERE passkey=".sqlesc($passkey)." AND enabled = 'yes' ORDER BY last_access DESC LIMIT 1") or err("Tracker error 2");////////////////////////////// END PASSKEY SYSTEM////////////////////////////find:CODE$ret = mysql_query("INSERT INTO peers (connectable, torrent, peer_id, ip, port, uploaded, downloaded, to_go, started, last_action, seeder, userid, client) VALUES ('$connectable', $torrentid, " . sqlesc($peer_id) . ", " . sqlesc($ip) . ", $port, $uploaded, $downloaded, $left, NOW(), NOW(), '$seeder', '$userid', " . sqlesc($agent) . ")");replace with:CODE////////////////////////////// PASSKEY SYSTEM////////////////////////////      $ret = mysql_query("INSERT INTO peers (connectable, torrent, peer_id, ip, port, uploaded, downloaded, to_go, started, last_action, seeder, userid, client, passkey) VALUES ('$connectable', $torrentid, " . sqlesc($peer_id) . ", " . sqlesc($ip) . ", $port, $uploaded, $downloaded, $left, NOW(), NOW(), '$seeder', $userid, " . sqlesc($agent) . ", " . sqlesc($passkey) . ")");////////////////////////////// END PASSKEY SYSTEM////////////////////////////NOTES:Replace your modtask with the attached.If your not using external stats hack replace download.php with download(normal).phpIf you are using the external stats hack then use download(external).phpIt should only add the passkey to local torrents Attached File(s)  modtask.php ( 5.13K ) Number of downloads: 36  download_external_.php ( 2.33K ) Number of downloads: 16  download_normal_.php ( 2.09K ) Number of downloads: 49     xecution View Member Profile Add as Friend Send Message Find Member's Topics Find Member's Posts ipsmenu.register( "post-member-15164", '', 'popmenubutton-new', 'popmenubutton-new-out' ); Aug 11 2006, 08:42 PM Post #2 Advanced Member Group: Premium Posts: 265 Joined: 14-June 06 From: ::(714):: Member No.: 2,625 Awsome.. Works Like A Charm! Very Clean Addition.. Thank You!   nimrod View Member Profile Add as Friend Send Message Find Member's Topics Find Member's Posts ipsmenu.register( "post-member-15232", '', 'popmenubutton-new', 'popmenubutton-new-out' ); Aug 14 2006, 09:36 AM Post #3 Newbie Group: Members Posts: 4 Joined: 12-June 06 Member No.: 2,614 didn't work with torrentflux ... (bittoronado client : bad data from tracker with every torrent that created by this hack based on original code)and ...incorrect peer number when using other client , i'm using bitcomet 0.60.CODEif ($event == "completed")// UPDATE "COMPLETED" EVENT  {  //UPDATE SNATCHED  mysql_query("UPDATE snatched SET  finished  = 'yes', completedat = $dt WHERE torrent = $torrentid AND userid = $userid");  $updateset[] = "times_completed = times_completed + 1";  $rz = mysql_query("SELECT id FROM users WHERE ip='$ip' LIMIT 2") or err('Tracker error 2');      if (mysql_num_rows($rz) == 1){// UPDATE THE "WHO COMPLETED TABLE"    $az = mysql_fetch_assoc($rz);    mysql_query("INSERT INTO downloaded (torrent, user) VALUES ('$torrentid', '$az[id]')");      }  }//END COMPLETEDi'm not sure this hack are completely based on 100% passkey or not because many point in this code still checking userid from ip. this may be the problem for dedicated leecher who can't log-in to their site from his/her server "or" normal user who leeching/seeding with changed ip that re-assigned from isp . Sorry if i miss understood something in this code.   spliffer View Member Profile Add as Friend Send Message Find Member's Topics Find Member's Posts ipsmenu.register( "post-member-15429", '', 'popmenubutton-new', 'popmenubutton-new-out' ); Aug 20 2006, 12:23 PM Post #4 Member Group: Premium Posts: 22 Joined: 26-March 06 Member No.: 1,968 Would anyone know how to get the passkey system to work with BitTornado.The problem is the same as above as i have a seedbox also and most of my users use BitTornado.I could ask my users to change to a client that the passkey works with but that would be harsh, i think. Torrentflux is best and as far as i know, only works with BitTornado, so i am a bit stuck.So wish i had more than a very basic, if not pants understanding of PHP and SQL, as i would love to help out on this and other things but unless it is themes or one line here and there, it's a non starter i am affraid.Any help on this would be very helpful and very, very welcome.Thank you.   FLASH View Member Profile Add as Friend Send Message Find Member's Topics Find Member's Posts ipsmenu.register( "post-member-15599", '', 'popmenubutton-new', 'popmenubutton-new-out' ); Aug 23 2006, 02:29 PM Post #5 Administrator Group: Admin Posts: 2,250 Joined: 14-September 05 Member No.: 1 just posted a 1.2 revision of thisCLOSED -------------------- - STOP PM'ING ME FOR SUPPORT, USE THE FORUMS THAT'S WHAT THEY'RE HERE FOR   « Next Oldest · PREMIUM Hacks & Modifications · Next Newest »   Forum Home Search Help Main   |-- Site News Updates and Rules   |-- General Chat   |-- Your Tracker TorrentTrader   |-- Technical Support   |-- Mod Requests   |-- Hacks And Modifications   |-- Themes & Styles   |-- TT4XBT VBTT   |-- VBTT Version 1.x   |---- Releases   |---- Support   |---- Mods   |-- VBTT Version 2.x   |---- Releases   |---- Support   |---- Mods   |-- VBTT Version 3.x   |---- Releases   |---- Support   |---- Mods TorrentTrader PREMIUM   |-- PREMIUM Support   |-- PREMIUM Hacks & Modifications   |-- PREMIUM BETA Source Codes   |-- PREMIUM Themes   Display Mode: Standard · Switch to: Linear+ · Switch to: Outline Track this topic · Email this topic · Print this topic · Subscribe to this forum // IPB 2.2.0 Default English Lo-Fi Version Time is now: 22nd August 2007 - 01:09 PM // Powered By IP.Board 2.3.1 © 2007  IPS, Inc. Licensed to: TorrentTrader.org

Wyszukiwarka

Podobne podstrony:
Passkey System v1 2, Add Passkey function to your site
Staff contact mod for torrenttrader classic v1 04 final, How to member s contact your staff!
passkey system 1 2 page 5
passkey system 1 2 page 6
passkey system 1 2 page 3 htm
passkey system 1 2
passkey system 1 2 page 2
passkey system 1 2 page 4
Obsluga systemu v1 3
Commodore 64 Classix Switch Edition [v 2] info
Commodore 64 Classix Switch Edition info
Dude System monitorowania sieci przy pomocy DUDE v1
wylaczenie aktualizacji systemu XP
EV (Electric Vehicle) and Hybrid Drive Systems

więcej podobnych podstron