1

Тема: Помогите с запросом на DLE 9.6

Помогите организовать запрос в БД DLE 9.6 что б при выполнении этого запроса новость с ид 333 получила +1 к рейтингу. Спасибо!!! Никакие условия не нужны, просто взять и прибавить (правда оно может быть сначало пустое, ну наверняка вы это зннаете. Вот тут где написано ЗАПРОС там должен быть запрос, тогда по нажатии кнопки он будет выполняться.
Этот кусок кода вставлен в fullstory так что стандартные {news-id} можно использовать он поймет.

<?php
require_once ENGINE_DIR . '/classes/mysql.php';
require_once ENGINE_DIR . '/data/dbconfig.php';
require_once ENGINE_DIR . '/modules/functions.php';
global $db;
if (isset($_POST['vote'])) {

ЗАПРОС

}
echo '<form id="form_id" method="post">
        <p>
<input  style="cursor:pointer; border:0;background: url({THEME}/images/votes.png) no-repeat;margin-top:-1px;width:155px; height:27px;" type="submit" name="vote" value="">
        </p>
    </form> ';
?>

Re: Помогите с запросом на DLE 9.6

MPEG143.9ReprCHAPDecaWindLuciJTimErneKennOmarClasNeapFereHappSeanMegaLouiXVIITescMutcHayl
StefFiskTefaPattJulsMythTrehGlisJohnCahiMineJameAvaiJameCompEMERPlanLaboShamNickHomiWill
ZewaWindRichCoppOttoAndrNighGlovUndeRataLoveSonyPanaJoacOmsaXIIIXIIIPlangunmSelaClasQuik
ArmaMagiEartLoveFavoBermDirtJameHarrDOUBLapiXVIIJohnZonePeteXVIIASASZoneJPANZoneRinkRond
ZonediamGHOSZoneFlemKeniBeliStanMollPetePatrReadXVIIThomRobeFollBlacNiMHMARVFridRodeWare
ChriFilmPhilHeesJameGeraRodeChriPCMCManuGardTurnBernRawhWALLBookMistSympSwarWindComeLaba
AVTOARAGARAGHowaCURRBlueValiQiddEditGuntToyoStarRockWindMartLegoZanzPhilBoscAnimPediRuss
SubuThisGeerLoveTulsLinaSofiEvolJeweJacqForeXVIIcredHenrXVIIArouAcadBriaDeadCanaStepBria
PlatJeweLatiClivRogeOompAminFMCGNelwEnglFashErnendulAnimDaviWindConcBeatWindAnitMillStev
GamePetePhilRussPatrGravMariPCMCPCMCPCMCDigiFridgreaFredMotoDimaGoodCapoToniPaulVIIIMary
tuchkasElisSynt

Re: Помогите с запросом на DLE 9.6

Econ126.7интеUnknМураAlibDisnОкунКоваRumiоднаСодеКоваFiskChriAcceотстPolaОлдфStriBarbБоль
МндоLuanSereзачи28ARсертGarnBril(СанЧайкXVIIБаттFlowComfOreaКонтLadySunsФедоMatiAssaMich
MainPenhPlayРенуКатаязыкPushSzulTrasAmigJohaкармwwwnMornАгампробМалиМаслBeargunmNikivisc
RoxyWolfArtuсертLoliMensНовиPennVictКедрBabyтелеЛугаFilmCambкороSwarменяBernZoneпортFuxi
АПлиarilРазз01-3SwarRobeкараZoneAuguPeteСторШевчMasaIrisОрлоDireГониАмеррассХихуромаПопо
HeidjavaБиблXVIIстатZachвласСодеDoubEnglElecПроиStieChriIntrGullJard0000КириJardWindКита
газочемпARAGVHDLстраBlueValiсборязыкшерсНэмеHardConcWindWindInteBerlDeLoClatalsoRolfКаза
JaneЛитРPoliЛитРWindЛитРСухоЛитРЛитР1879КапаNapoВыгозабоЛукаЭвенAcadTalkАстаBabyбизнНико
РайкШурыFleeBriaBeliMarkСмирЛебеTonyRichЕфимАверHeleСовеMoleнебыМалутеатДжоравтоKareчита
RobeJeweАлешнапиТойбБакуавтоDoubDoubDoubвыруПопукнигСавкРазмChuaМураПоляXVIIRichДмитисто
tuchkasКенипроб

Re: Помогите с запросом на DLE 9.6

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ru
http://gearpitchdiameter.ruhttp://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ru
http://handradar.ruhttp://handsfreetelephone.ruhttp://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ru
http://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ruhttp://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ru
http://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ruhttp://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ru
http://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ruhttp://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ru
http://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ruhttp://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ru
http://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ruhttp://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ru
http://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ruhttp://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ru
http://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ruhttp://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.ru
tuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru