Multiple content Implementation Paging

Source: Internet
Author: User
Multi-Content Implementation paging PHP
  1. $AA = ' The occurrence of abnormal, soft or watery feces in the loft is a common problem, and the occurrence of such pigeon dung is easily found by the pigeon owners, which also means a warning about the health of the pigeon herd. Normal stool is often described as brown/green, marble-like, with a cap-shaped body of white uric acid crystals excreted from the kidneys, and often soft hairs on the stool, all of which are considered healthy.
  2. An abnormal stool, originating in the bowel system or urinary system, having a thirst or a mixture of the above; extreme soft or water, regardless of the form, in this chapter is considered to be a dysentery. Diarrhea (pigeon owners often described as wet discharge, water-based discharge, spray, bar, green, white, etc.) with the competition at home and abroad, the exchange of the show has gradually increased trend, more because of the winnings of each pigeon will be overweight, resulting in pigeon owners over-indulgence, all kinds of drugs, subsidies are excessive to give, In turn, it hurts the urinary system (the disease of the kidneys itself), and the resulting watery dysentery (multi-urine, thirst, gradual loss of appetite) also occurs more frequently than abroad. The general pigeon owners would rather believe that dysentery is a separate disease rather than a clinical symptom caused by disease.
  3. There are obviously many potential factors in the outbreak of dysentery in racing pigeons. In addition, individual pigeons may also have a variety of loose stools, for reasons such as neurotic, new organisms, foreign objects in the digestive tract, diabetes and so on.
  4. This chapter is about the group of diarrhea, detailed below.
  5. Baramee Hip Infectious Disease Paramyxovirus-1 (PMV-1)
  6. Pathogen: Accessory slime virus infection, pigeon Master XI Baramee Hip (transliteration), its correct classification is as follows:
  7. Sub-mucinous virus section (Paramyxoviridal Family), 3 genera:
  8. 1.Paramyxovirus (PMV) scored 9 groups, of which 2 groups were ill-pathogenic to birds.
  9. Parainfluenza-1, divided into 4 strains:
  10. Newcastle Virus (NDV Newcastle virus): poultry, pigeons, birds, humans.
  11. PMV-1 (Vaccination against Paramyxo): pigeons (common), chickens.
  12. Sendai.
  13. HA2: No effect on birds.
  14. Parainfluenza-7, divided into 2 strains:
  15. TENN/USA/4/75: Dove.
  16. OTARU/JAPAN/76: Rock Pigeon.
  17. Morbillivirus (M)
  18. Pneumovirus (P)
  19. The virus strains that affect pigeons are ndv and PMV-1, which are highly cross-immune antigens.
  20. In recent years, due to the exchange of pigeons, the large number of pigeons, as well as the non-implementation of immunization programs, is caused by the infection of PMV-1 the pigeon's diarrhea is the most common; the typical case of this disease is the sudden onset of thirst and diarrhea, the pigeon has a variety of neurological symptoms, including trembling, oblique neck, drooping wings, Weak feet and inability to properly feed, sense of balance lost, will do circle movement and lateral recumbent, pigeons of all ages may be infected, depending on their immune status. The disease is a legal infectious disease, there is no special treatment, should be controlled by epidemic prevention. ';
  21. RTrim ($AA);
  22. $stringnums = 200; Number of characters per page
  23. $length = Mb_strlen ($aa, ' UTF8 '); Article Length (characters)
  24. if ($length > $stringnums) {
  25. $pagecount = Ceil ($length/$stringnums); Pages
  26. $nowp = Empty ($_get[' P ')) | | $_get[' P '] > $pagecount | | $_get[' P '] < 0? 1: $_get[' P '];//current page
  27. $offset = $stringnums * ($NOWP-1);//Offset
  28. $AA = Mb_substr ($aa, $offset, $stringnums, ' UTF-8 ');//Get content
  29. $AA = Preg_replace ("/^/i", "", $AA);
  30. $AA = Preg_replace ("/<\/div>$/i", "", $AA);
  31. $AA = Strip_tags ($aa, "

    • ");
    • $AA = @tidy_repair_string ($aa, ', ' UTF8 ');
    • Pagination Bar
    • $pagemulti 1 = "";//geshe_1
    • for ($i =1; $i <= $pagecount; $i + +) {
    • $nowcss = ";
    • if ($nowp = = $i) {
    • $nowcss = ' color:red ';
    • }
    • $pagemulti 1. = "[$i]";
    • }
    • }
    • Echo $aa;
    • echo $pagemulti 1;
    • ?>
    • Tidy_repair_string the application of this function to remember to configure the PHP tidy extension, Baidu will be able to configure it! Copy Code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.