Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Today
  3. Problema sitemap webmasters

    Incearca, am facut o modificare in script. Daca nu merge, du-te si cere support pe phpvibe <?php /** * Plugin Name: Regular Sitemap * Plugin URI: http://get.phpvibe.com/ * Description: Generates a regular sitemap for PHPVibe 5 * Version: 1.2 * Author: PHPVibe Crew * Author URI: http://www.phpvibe.com * License: Commercial */ /* Number of results per page */ $xnr = 1000; /* Number of results per page */ header('Content-Type: application/xml; charset=UTF-8'); echo '<?xml version="1.0" encoding="UTF-8"?>'; include_once('load.php'); $now = date('Y-m-d', time()); $midnight = $now; if (_get('page')) { echo "We have a page"; } else { if (_get('type')) { $type = _get('type'); $urlar = array(); switch ($type) { case "videos": $results = $db->get_results("Select title,id,date from " . DB_PREFIX . "videos order by id desc " . this_offset($xnr)); if ($results) { $i = 1; foreach ($results as $r) { $urlar[$i]['loc'] = video_url($r->id, $r->title); $urlar[$i]['date'] = $r->date; $i++; } } break; case "images": $results = $db->get_results("Select title,id,date from " . DB_PREFIX . "images order by id desc " . this_offset($xnr)); if ($results) { $i = 1; foreach ($results as $r) { $urlar[$i]['loc'] = image_url($r->id, $r->title); $urlar[$i]['date'] = $r->date; $i++; } } break; case "users": $results = $db->get_results("Select name,id from " . DB_PREFIX . "users order by id desc limit 0,19999"); if ($results) { foreach ($results as $r) { $urlar[]['loc'] = profile_url($r->id, $r->name); } } break; case "categories": $results = $db->get_results("Select cat_name as name,cat_id as id from " . DB_PREFIX . "channels order by cat_id desc limit 0,19999"); if ($results) { foreach ($results as $r) { $urlar[]['loc'] = channel_url($r->id, $r->name); } } break; case "tags": $tg = array(); $results = $db->get_results("Select tags from " . DB_PREFIX . "videos order by id desc limit 0,19999"); foreach ($results as $r) { $tags = array_unique(explode(",", $r->tags)); $tg = array_merge($tg, $tags); } $tg = array_map('trim', $tg); $tg = array_filter($tg, 'strlen'); foreach ($tg as $r) { $r = strip_tags($r); $qterm = nice_url($r); if (strlen($qterm) > 3) { $urlar[]['loc'] = site_url() . show . '/' . $qterm . '/'; } } break; case "static": $results = $db->get_results("Select title as name,pid as id from " . DB_PREFIX . "posts order by pid desc limit 0,19999"); if ($results) { foreach ($results as $r) { $urlar[]['loc'] = article_url($r->id, $r->name); } } $results = $db->get_results("Select title as name,pid as id from " . DB_PREFIX . "pages order by pid desc limit 0,19999"); if ($results) { foreach ($results as $r) { $urlar[]['loc'] = page_url($r->id, $r->name); } } break; } array_filter(array_unique($urlar)); //var_dump($urlar); echo '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'; foreach ($urlar as $l) { echo '<url> <loc> ' . $l["loc"] . ' </loc>'; if (isset($l['date'])) { $datetime = new DateTime($l['date']); $timed = $datetime->format('Y-m-d\TH:i:sP'); echo '<lastmod>' . $timed . ' etc</lastmod>'; } else { echo '<lastmod>' . $midnight . '</lastmod>'; } echo '<changefreq>weekly</changefreq> </url>'; } echo '</urlset>'; } else { /* Build sitemap index */ echo '<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'; $sarr = array( "users", "categories", "tags", "static" ); foreach ($sarr as $s) { echo '<sitemap> <loc> ' . site_url() . 'sitemap.php?type=' . $s . ' </loc> <lastmod>' . $midnight . '</lastmod> </sitemap>'; } //Calculate video pages $nrv = $db->get_var("Select count(*) from " . DB_PREFIX . "videos"); $maxV = ceil($nrv / $xnr); for ($x = 1; $x <= $maxV; $x++) { echo '<sitemap> <loc> ' . site_url() . 'sitemap.php?type=videos&amp;p=' . $x . ' </loc> <lastmod>' . $midnight . '</lastmod> </sitemap>'; } //Calculate video pages $nri = $db->get_var("Select count(*) from " . DB_PREFIX . "images"); $maxI = ceil($nri / $xnr); for ($x = 1; $x <= $maxI; $x++) { echo '<sitemap> <loc> ' . site_url() . 'sitemap.php?type=images&amp;p=' . $x . ' </loc> <lastmod>' . $midnight . '</lastmod> </sitemap>'; } //End sitemapindex echo "\r\n</sitemapindex>"; } } ?>
  4. Unde va tineti pozele ?

    https://www.emag.ro/hdd-toshiba-dt01aca-1tb-7200rpm-32mb-cache-sata-iii-dt01aca100/pd/EBQDNBBBM/#1 TB cel mai ieftin , mai dai 10 lei pe un cablu sata si te-ai scos
  5. Unde va tineti pozele ?

    Acel moment cand il banuiesti pe cineva ca e in posesia unor mici farame de inteligenta si ei..
  6. anunt pcg

    Salut, ma poate ajuta cineva cu un anunt pe pcg? Multumesc. S-a rezolvat, multumesc.
  7. Unde va tineti pozele ?

    Cumpara un cont pe onedrive si stocheaza ce vrea sufletu tau, da mai bine iesi cu un HDD extern.
  8. RST Bashed

  9. Unde va tineti pozele ?

    wtf Che, esti fenomenal !
  10. API Facebook

    incearca sa-ti stergi aplicatia din contul de pe care te loghezi (Settings -> Apps) si sa te loghezi iara.
  11. r00tw0rm mailer

    IF YOU SELLING LINUX VPS DUMP T1,T2 RDP MAILER INBOX ADD ME ON ICQ 669976896 SKYPE jamite20006@yahoo.com .
  12. Yesterday
  13. API Facebook

    Se poate uita cineva la intrebarea editata de mai sus?
  14. Dump/emulare cheie dongle usb

    Salut, multumesc de raspuns, al doilea thread postat de tine l-am citit deja, nu ma ajuta pentru ca nici nu pot sa identific ce am , iar softul meu este unul medical nu are legatura cu ceva de decodat telefoane, dar am sa incerc sa il snifez putin. Din linkul al 2lea , programul postat a fost uploadat demult si evident nu mai este acolo deci nu ma ajuta, nu am idee ce fel de program usb over ip sa folosesc si oricum am nevoie de emulare nu sa depind de online (nu sunt pe o retea sau conectat la internat cand folosesc softul).
  15. Vand baza de date(telefoane mobile fixe) toate tarile

    Este simplu. Aleatoriu se poate suna si verifica daca este persoana respectiva si sta la acea adresa.
  16. Unde va tineti pozele ?

    Multumesc ! Am inceput sa urc o parte din videouri pe Google Photos si momentan e totul in regula. Niste temeri de ale mele (si nu numai, ca mi-a mai zis cineva) : 1. Daca tu iti urci poze, filmulete etc. cu amintirile tale si la un moment dat Google desfiinteaza serviciul Google Photos, asa cum a desfiintat si Picasa ? Ce se va intampla cu ce ai urcat tu acolo ? 2. Ce ai urcat acum inca mai poti accesa, desi, uneori, chiar si acum mai face figuri si iti arata "Video unavailable !" si "Retry later !" iar la refresh isi revine. Dar oare voi mai putea accesa peste 1-2-5-9 ani sau totul va fi doar tumbnail si atat si nu va putea fi accesat ? 3. Nu te poti trezi dintr-o data cu pozele si filmuletele tale personale ca sunt facute brusc publice pe internet si ca le va putea vedea oricine, doar asa, fiindca a schimbat Google confidentialitatea ? Sau sa apara pe Google Maps ? Care e scopul acestui serviciu, totusi, din moment ce Google Plus e mort si nu il foloseste nimeni ? Iar daca e, sa zicem, ca sa se foloseasca de locatiile fotografiate/filmate de tine pentru o mai buna reconstructie a hartilor din Google Maps/Street View, atunci inseamna ca ce ai urcat tu acolo la privat in scurt timp va fi facut public, nu ? Multumesc pentru lamuriri !
  17. Si sa plateasca si transportul de buna voie ca doar i-l trimite la usa. Si cum vei face ? Iti vor da aia de la telefonie mobila asa, pur si simplu, datele de care ai tu nevoie sau cum vei afla ce te intereseaza ?
  18. Dump/emulare cheie dongle usb

    https://rstforums.com/forum/topic/101065-usb-sniffing/ https://rstforums.com/forum/topic/85557-emulator-dongle-rockey2/ baga un search pe forum, s-a mai discutat despre asta.
  19. Who should read this? Technical people who want to get up to speed on machine learning quickly Non-technical people who want a primer on machine learning and are willing to engage with technical concepts Anyone who is curious about how machines think This guide is intended to be accessible to anyone. Basic concepts in probability, statistics, programming, linear algebra, and calculus will be discussed, but it isn’t necessary to have prior knowledge of them to gain value from this series. Part 1: Why Machine Learning Matters. The big picture of artificial intelligence and machine learning — past, present, and future. Part 2.1: Supervised Learning. Learning with an answer key. Introducing linear regression, loss functions, overfitting, and gradient descent. Part 2.2: Supervised Learning II. Two methods of classification: logistic regression and SVMs. Part 2.3: Supervised Learning III. Non-parametric learners: k-nearest neighbors, decision trees, random forests. Introducing cross-validation, hyperparameter tuning, and ensemble models. Part 3: Unsupervised Learning. Clustering: k-means, hierarchical. Dimensionality reduction: principal components analysis (PCA), singular value decomposition (SVD). Part 4: Neural Networks & Deep Learning. Why, where, and how deep learning works. Drawing inspiration from the brain. Convolutional neural networks (CNNs), recurrent neural networks (RNNs). Real-world applications. Part 5: Reinforcement Learning. Exploration and exploitation. Markov decision processes. Q-learning, policy learning, and deep reinforcement learning. The value learning problem. Appendix: The Best Machine Learning Resources. A curated list of resources for creating your machine learning curriculum.
  20. Dump/emulare cheie dongle usb

    Salutare,am si eu nevoie de putin ajutor... Am o cheie usb dongle, vine cu un produs chinezesc, cu softul cumparat de mine , am nevoie sa emulez cheia ,nu o pot identifica , nu merge cu nimic sa ii fac dump , am un fisier de indentificare luat cu UVC view. Ce pot sa fac ?pun informatiile despre dongle aici... Multumesc in avans ! ---===>Device Information<===--- ConnectionStatus: Current Config Value: 0x01 -> Device Bus Speed: Full Device Address: 0x0D Open Pipes: 2 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1 bmAttributes: 0x02 -> Bulk Transfer Type wMaxPacketSize: 0x0040 = 0x40 bytes bInterval: 0x00 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x02 -> Direction: OUT - EndpointID: 2 bmAttributes: 0x02 -> Bulk Transfer Type wMaxPacketSize: 0x0040 = 0x40 bytes bInterval: 0x00 ===>Device Descriptor<=== bLength: 0x12 bDescriptorType: 0x01 bcdUSB: 0x0110 bDeviceClass: 0x00 -> This is an Interface Class Defined Device bDeviceSubClass: 0x00 bDeviceProtocol: 0x00 bMaxPacketSize0: 0x08 = (8) Bytes idVendor: 0x1312idProduct: 0x2012 bcdDevice: 0x0100 iManufacturer: 0x00 iProduct: 0x00 iSerialNumber: 0x00 bNumConfigurations: 0x01 ===>Configuration Descriptor<=== bLength: 0x09 bDescriptorType: 0x02 wTotalLength: 0x0020 -> Validated bNumInterfaces: 0x01 bConfigurationValue: 0x01 iConfiguration: 0x00 bmAttributes: 0xC0 -> Bus Powered MaxPower: 0x4B = 150 mA ===>Interface Descriptor<=== bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x00 bAlternateSetting: 0x00 bNumEndpoints: 0x02 bInterfaceClass: 0x08 -> This is a Mass Storage USB Device Interface Class bInterfaceSubClass: 0x06 bInterfaceProtocol: 0x50 iInterface: 0x00 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1 bmAttributes: 0x02 -> Bulk Transfer Type wMaxPacketSize: 0x0040 = 0x40 bytes bInterval: 0x00 ===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x02 -> Direction: OUT - EndpointID: 2 bmAttributes: 0x02 -> Bulk Transfer Type wMaxPacketSize: 0x0040 = 0x40 bytes bInterval: 0x00
  21. Salutare, emulatoare pt chei usb dongle de unde se pot lua ? Multumesc anticipat !

  22. Unde va tineti pozele ?

    un rack pentru hdd si un hdd sh, cu 200 de lei iti faci un hard extern destul de incapator
  23. Which mobile is the best?

    Android - Pixel iOS - iPhone Linux - Nokia N900 (vechi, dar foarte distractiv) Other - Nokia 3310
  24. Priv8 Mailer Inbox 2015 |Clean|

    It's possible to download it ?
  25. Which mobile is the best?

    If you want to spend your money on overpriced technology, then choose any from those you mentioned.
  26. Which mobile is the best?

    Samsung - Hardware iPhone - Software
  1. Load more activity
×